ghsa-cgcv-5272-97pr
Vulnerability from github
Published
2023-07-03 21:30
Modified
2023-07-07 16:29
Severity ?
Summary
Kubernetes mountable secrets policy bypass
Details
Users may be able to launch containers that bypass the mountable secrets policy enforced by the ServiceAccount admission plugin when using ephemeral containers. The policy ensures pods running with a service account may only reference secrets specified in the service account’s secrets field. Kubernetes clusters are only affected if the ServiceAccount admission plugin and the kubernetes.io/enforce-mountable-secrets
annotation are used together with ephemeral containers.
{ "affected": [ { "package": { "ecosystem": "Go", "name": "k8s.io/kubernetes" }, "ranges": [ { "events": [ { "introduced": "1.27.0" }, { "fixed": "1.27.3" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Go", "name": "k8s.io/kubernetes" }, "ranges": [ { "events": [ { "introduced": "1.26.0" }, { "fixed": "1.26.6" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Go", "name": "k8s.io/kubernetes" }, "ranges": [ { "events": [ { "introduced": "1.25.0" }, { "fixed": "1.25.11" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Go", "name": "k8s.io/kubernetes" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "1.24.15" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2023-2728" ], "database_specific": { "cwe_ids": [ "CWE-20" ], "github_reviewed": true, "github_reviewed_at": "2023-07-06T15:10:06Z", "nvd_published_at": "2023-07-03T21:15:09Z", "severity": "MODERATE" }, "details": "Users may be able to launch containers that bypass the mountable secrets policy enforced by the ServiceAccount admission plugin when using ephemeral containers. The policy ensures pods running with a service account may only reference secrets specified in the service account\u2019s secrets field. Kubernetes clusters are only affected if the ServiceAccount admission plugin and the `kubernetes.io/enforce-mountable-secrets` annotation are used together with ephemeral containers.\n\n", "id": "GHSA-cgcv-5272-97pr", "modified": "2023-07-07T16:29:50Z", "published": "2023-07-03T21:30:57Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-2728" }, { "type": "WEB", "url": "https://github.com/kubernetes/kubernetes/issues/118640" }, { "type": "WEB", "url": "https://github.com/kubernetes/kubernetes/pull/118356" }, { "type": "WEB", "url": "https://github.com/kubernetes/kubernetes/pull/118471" }, { "type": "WEB", "url": "https://github.com/kubernetes/kubernetes/pull/118473" }, { "type": "WEB", "url": "https://github.com/kubernetes/kubernetes/pull/118474" }, { "type": "WEB", "url": "https://github.com/kubernetes/kubernetes/pull/118512" }, { "type": "PACKAGE", "url": "https://github.com/kubernetes/kubernetes" }, { "type": "WEB", "url": "https://groups.google.com/g/kubernetes-security-announce/c/vPWYJ_L84m8" }, { "type": "WEB", "url": "http://www.openwall.com/lists/oss-security/2023/07/06/3" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N", "type": "CVSS_V3" } ], "summary": "Kubernetes mountable secrets policy bypass" }
Loading...
Loading...
- 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.