gsd-2023-27593
Vulnerability from gsd
Modified
2023-12-13 01:20
Details
Cilium is a networking, observability, and security solution with an eBPF-based dataplane. Prior to versions 1.11.15, 1.12.8, and 1.13.1, an attacker with access to a Cilium agent pod can write to `/opt/cni/bin` due to a `hostPath` mount of that directory in the agent pod. By replacing the CNI binary with their own malicious binary and waiting for the creation of a new pod on the node, the attacker can gain access to the underlying node. The issue has been fixed and the fix is available on versions 1.11.15, 1.12.8, and 1.13.1. Some workarounds are available. Kubernetes RBAC should be used to deny users and service accounts `exec` access to Cilium agent pods. In cases where a user requires `exec` access to Cilium agent pods, but should not have access to the underlying node, no workaround is possible.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2023-27593", "id": "GSD-2023-27593" }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2023-27593" ], "details": "Cilium is a networking, observability, and security solution with an eBPF-based dataplane. Prior to versions 1.11.15, 1.12.8, and 1.13.1, an attacker with access to a Cilium agent pod can write to `/opt/cni/bin` due to a `hostPath` mount of that directory in the agent pod. By replacing the CNI binary with their own malicious binary and waiting for the creation of a new pod on the node, the attacker can gain access to the underlying node. The issue has been fixed and the fix is available on versions 1.11.15, 1.12.8, and 1.13.1. Some workarounds are available. Kubernetes RBAC should be used to deny users and service accounts `exec` access to Cilium agent pods. In cases where a user requires `exec` access to Cilium agent pods, but should not have access to the underlying node, no workaround is possible.", "id": "GSD-2023-27593", "modified": "2023-12-13T01:20:55.605608Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2023-27593", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "cilium", "version": { "version_data": [ { "version_affected": "=", "version_value": "\u003c 1.11.15" }, { "version_affected": "=", "version_value": "\u003e= 1.12.0, \u003c 1.12.8" }, { "version_affected": "=", "version_value": "\u003e= 1.13.0, \u003c 1.13.1" } ] } } ] }, "vendor_name": "cilium" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "Cilium is a networking, observability, and security solution with an eBPF-based dataplane. Prior to versions 1.11.15, 1.12.8, and 1.13.1, an attacker with access to a Cilium agent pod can write to `/opt/cni/bin` due to a `hostPath` mount of that directory in the agent pod. By replacing the CNI binary with their own malicious binary and waiting for the creation of a new pod on the node, the attacker can gain access to the underlying node. The issue has been fixed and the fix is available on versions 1.11.15, 1.12.8, and 1.13.1. Some workarounds are available. Kubernetes RBAC should be used to deny users and service accounts `exec` access to Cilium agent pods. In cases where a user requires `exec` access to Cilium agent pods, but should not have access to the underlying node, no workaround is possible." } ] }, "impact": { "cvss": [ { "attackComplexity": "LOW", "attackVector": "LOCAL", "availabilityImpact": "HIGH", "baseScore": 4.4, "baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "HIGH", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H", "version": "3.1" } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "cweId": "CWE-276", "lang": "eng", "value": "CWE-276: Incorrect Default Permissions" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/cilium/cilium/security/advisories/GHSA-4hc4-pgfx-3mrx", "refsource": "MISC", "url": "https://github.com/cilium/cilium/security/advisories/GHSA-4hc4-pgfx-3mrx" }, { "name": "https://github.com/cilium/cilium/pull/24075", "refsource": "MISC", "url": "https://github.com/cilium/cilium/pull/24075" }, { "name": "https://github.com/cilium/cilium/releases/tag/v1.11.15", "refsource": "MISC", "url": "https://github.com/cilium/cilium/releases/tag/v1.11.15" }, { "name": "https://github.com/cilium/cilium/releases/tag/v1.12.8", "refsource": "MISC", "url": "https://github.com/cilium/cilium/releases/tag/v1.12.8" }, { "name": "https://github.com/cilium/cilium/releases/tag/v1.13.1", "refsource": "MISC", "url": "https://github.com/cilium/cilium/releases/tag/v1.13.1" }, { "name": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/", "refsource": "MISC", "url": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/" } ] }, "source": { "advisory": "GHSA-4hc4-pgfx-3mrx", "discovery": "UNKNOWN" } }, "gitlab.com": { "advisories": [ { "affected_range": "\u003c1.11.15||\u003e=1.12.0 \u003c1.12.8||\u003e=1.13.0 \u003c1.13.1", "affected_versions": "All versions before 1.11.15, all versions starting from 1.12.0 before 1.12.8, all versions starting from 1.13.0 before 1.13.1", "cwe_ids": [ "CWE-1035", "CWE-276", "CWE-937" ], "date": "2023-03-17", "description": "Cilium is a networking, observability, and security solution with an eBPF-based dataplane. Prior to versions 1.11.15, 1.12.8, and 1.13.1, an attacker with access to a Cilium agent pod can write to `/opt/cni/bin` due to a `hostPath` mount of that directory in the agent pod. By replacing the CNI binary with their own malicious binary and waiting for the creation of a new pod on the node, the attacker can gain access to the underlying node. The issue has been fixed and the fix is available on versions 1.11.15, 1.12.8, and 1.13.1. Some workarounds are available. Kubernetes RBAC should be used to deny users and service accounts `exec` access to Cilium agent pods. In cases where a user requires `exec` access to Cilium agent pods, but should not have access to the underlying node, no workaround is possible.", "fixed_versions": [ "1.11.15", "1.12.8", "1.13.1" ], "identifier": "CVE-2023-27593", "identifiers": [ "GHSA-4hc4-pgfx-3mrx", "CVE-2023-27593" ], "not_impacted": "All versions starting from 1.11.15 before 1.12.0, all versions starting from 1.12.8 before 1.13.0, all versions starting from 1.13.1", "package_slug": "go/github.com/cilium/cilium", "pubdate": "2023-03-17", "solution": "Upgrade to versions 1.11.15, 1.12.8, 1.13.1 or above.", "title": "Incorrect Default Permissions", "urls": [ "https://github.com/cilium/cilium/security/advisories/GHSA-4hc4-pgfx-3mrx", "https://github.com/cilium/cilium/pull/24075", "https://nvd.nist.gov/vuln/detail/CVE-2023-27593", "https://github.com/cilium/cilium/releases/tag/v1.11.15", "https://github.com/cilium/cilium/releases/tag/v1.12.8", "https://github.com/cilium/cilium/releases/tag/v1.13.1", "https://kubernetes.io/docs/reference/access-authn-authz/rbac/", "https://github.com/advisories/GHSA-4hc4-pgfx-3mrx" ], "uuid": "80b2c7a5-09f1-4b82-bacb-fa9990d49811" } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:cilium:cilium:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "1.11.15", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:cilium:cilium:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "1.13.1", "versionStartIncluding": "1.13.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:cilium:cilium:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "1.12.8", "versionStartIncluding": "1.12.0", "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2023-27593" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "Cilium is a networking, observability, and security solution with an eBPF-based dataplane. Prior to versions 1.11.15, 1.12.8, and 1.13.1, an attacker with access to a Cilium agent pod can write to `/opt/cni/bin` due to a `hostPath` mount of that directory in the agent pod. By replacing the CNI binary with their own malicious binary and waiting for the creation of a new pod on the node, the attacker can gain access to the underlying node. The issue has been fixed and the fix is available on versions 1.11.15, 1.12.8, and 1.13.1. Some workarounds are available. Kubernetes RBAC should be used to deny users and service accounts `exec` access to Cilium agent pods. In cases where a user requires `exec` access to Cilium agent pods, but should not have access to the underlying node, no workaround is possible." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-276" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/cilium/cilium/releases/tag/v1.13.1", "refsource": "MISC", "tags": [ "Third Party Advisory" ], "url": "https://github.com/cilium/cilium/releases/tag/v1.13.1" }, { "name": "https://github.com/cilium/cilium/pull/24075", "refsource": "MISC", "tags": [ "Third Party Advisory" ], "url": "https://github.com/cilium/cilium/pull/24075" }, { "name": "https://github.com/cilium/cilium/releases/tag/v1.11.15", "refsource": "MISC", "tags": [ "Third Party Advisory" ], "url": "https://github.com/cilium/cilium/releases/tag/v1.11.15" }, { "name": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/", "refsource": "MISC", "tags": [ "Third Party Advisory" ], "url": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/" }, { "name": "https://github.com/cilium/cilium/releases/tag/v1.12.8", "refsource": "MISC", "tags": [ "Third Party Advisory" ], "url": "https://github.com/cilium/cilium/releases/tag/v1.12.8" }, { "name": "https://github.com/cilium/cilium/security/advisories/GHSA-4hc4-pgfx-3mrx", "refsource": "MISC", "tags": [ "Third Party Advisory" ], "url": "https://github.com/cilium/cilium/security/advisories/GHSA-4hc4-pgfx-3mrx" } ] } }, "impact": { "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "LOCAL", "availabilityImpact": "HIGH", "baseScore": 5.5, "baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "version": "3.1" }, "exploitabilityScore": 1.8, "impactScore": 3.6 } }, "lastModifiedDate": "2023-03-24T16:29Z", "publishedDate": "2023-03-17T20:15Z" } } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.