cve-2023-27593
Vulnerability from cvelistv5
Published
2023-03-17 19:51
Modified
2024-08-02 12:16
Severity ?
EPSS score ?
Summary
cilium-agent container can access the host via `hostPath` mount
References
Impacted products
{ "containers": { "adp": [ { "providerMetadata": { "dateUpdated": "2024-08-02T12:16:35.919Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "name": "https://github.com/cilium/cilium/security/advisories/GHSA-4hc4-pgfx-3mrx", "tags": [ "x_refsource_CONFIRM", "x_transferred" ], "url": "https://github.com/cilium/cilium/security/advisories/GHSA-4hc4-pgfx-3mrx" }, { "name": "https://github.com/cilium/cilium/pull/24075", "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/cilium/cilium/pull/24075" }, { "name": "https://github.com/cilium/cilium/releases/tag/v1.11.15", "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/cilium/cilium/releases/tag/v1.11.15" }, { "name": "https://github.com/cilium/cilium/releases/tag/v1.12.8", "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/cilium/cilium/releases/tag/v1.12.8" }, { "name": "https://github.com/cilium/cilium/releases/tag/v1.13.1", "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/cilium/cilium/releases/tag/v1.13.1" }, { "name": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/", "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/" } ], "title": "CVE Program Container" } ], "cna": { "affected": [ { "product": "cilium", "vendor": "cilium", "versions": [ { "status": "affected", "version": "\u003c 1.11.15" }, { "status": "affected", "version": "\u003e= 1.12.0, \u003c 1.12.8" }, { "status": "affected", "version": "\u003e= 1.13.0, \u003c 1.13.1" } ] } ], "descriptions": [ { "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.\n\nThe 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." } ], "metrics": [ { "cvssV3_1": { "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" } } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-276", "description": "CWE-276: Incorrect Default Permissions", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2023-03-17T19:51:16.689Z", "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M" }, "references": [ { "name": "https://github.com/cilium/cilium/security/advisories/GHSA-4hc4-pgfx-3mrx", "tags": [ "x_refsource_CONFIRM" ], "url": "https://github.com/cilium/cilium/security/advisories/GHSA-4hc4-pgfx-3mrx" }, { "name": "https://github.com/cilium/cilium/pull/24075", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/cilium/cilium/pull/24075" }, { "name": "https://github.com/cilium/cilium/releases/tag/v1.11.15", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/cilium/cilium/releases/tag/v1.11.15" }, { "name": "https://github.com/cilium/cilium/releases/tag/v1.12.8", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/cilium/cilium/releases/tag/v1.12.8" }, { "name": "https://github.com/cilium/cilium/releases/tag/v1.13.1", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/cilium/cilium/releases/tag/v1.13.1" }, { "name": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/", "tags": [ "x_refsource_MISC" ], "url": "https://kubernetes.io/docs/reference/access-authn-authz/rbac/" } ], "source": { "advisory": "GHSA-4hc4-pgfx-3mrx", "discovery": "UNKNOWN" }, "title": "cilium-agent container can access the host via `hostPath` mount" } }, "cveMetadata": { "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "assignerShortName": "GitHub_M", "cveId": "CVE-2023-27593", "datePublished": "2023-03-17T19:51:16.689Z", "dateReserved": "2023-03-04T01:03:53.635Z", "dateUpdated": "2024-08-02T12:16:35.919Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2023-27593\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2023-03-17T20:15:13.430\",\"lastModified\":\"2024-11-21T07:53:13.230\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"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.\\n\\nThe 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.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":4.4,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"HIGH\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":0.8,\"impactScore\":3.6},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-276\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:cilium:cilium:*:*:*:*:*:*:*:*\",\"versionEndExcluding\":\"1.11.15\",\"matchCriteriaId\":\"7726ABC1-0140-46EA-ACDD-44B09826648E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:cilium:cilium:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"1.12.0\",\"versionEndExcluding\":\"1.12.8\",\"matchCriteriaId\":\"30E4F1B2-07F4-47AC-8535-553DFF9877C7\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:cilium:cilium:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"1.13.0\",\"versionEndExcluding\":\"1.13.1\",\"matchCriteriaId\":\"C27C25C7-4E92-48FA-AD06-F4409E57431A\"}]}]}],\"references\":[{\"url\":\"https://github.com/cilium/cilium/pull/24075\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://github.com/cilium/cilium/releases/tag/v1.11.15\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://github.com/cilium/cilium/releases/tag/v1.12.8\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://github.com/cilium/cilium/releases/tag/v1.13.1\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://github.com/cilium/cilium/security/advisories/GHSA-4hc4-pgfx-3mrx\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://kubernetes.io/docs/reference/access-authn-authz/rbac/\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://github.com/cilium/cilium/pull/24075\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://github.com/cilium/cilium/releases/tag/v1.11.15\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://github.com/cilium/cilium/releases/tag/v1.12.8\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://github.com/cilium/cilium/releases/tag/v1.13.1\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://github.com/cilium/cilium/security/advisories/GHSA-4hc4-pgfx-3mrx\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://kubernetes.io/docs/reference/access-authn-authz/rbac/\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]}]}}" } }
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.