CVE-2023-2728
MEDIUM 6.5CVSS 3.1Kubernetes mountable secrets policy bypass
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.
- Published
- 3 Jul 2023
- Last modified
- 10 Sep 2026
- Assigned by
- jordan@liggitt.net
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-cgcv-5272-97prGO-2023-1892
- Sources
- NVDJSONOSV GHSA-cgcv-5272-97prJSONOSV GO-2023-1892JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | jordan@liggitt.net (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | kubernetes | kubernetescpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* |
<= 1.24.14 | |
| NVD | kubernetes | kubernetescpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* |
>= 1.25.0, <= 1.25.10 | |
| NVD | kubernetes | kubernetescpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* |
>= 1.26.0, <= 1.26.5 | |
| NVD | kubernetes | kubernetescpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* |
>= 1.27.0, <= 1.27.2 | |
| OSV | Go | k8s.io/kubernetes | >= 1.27.0, < 1.27.3 | 1.27.3 |
| OSV | Go | k8s.io/kubernetes | >= 1.26.0, < 1.26.6 | 1.26.6 |
| OSV | Go | k8s.io/kubernetes | >= 1.25.0, < 1.25.11 | 1.25.11 |
| OSV | Go | k8s.io/kubernetes | < 1.24.15 | 1.24.15 |
| OSV | Go | k8s.io/kubernetes | < 1.24.15; >= 1.25.0, < 1.25.11; >= 1.26.0, < 1.26.6; >= 1.27.0, < 1.27.3 | 1.24.15, 1.25.11, 1.26.6, 1.27.3 |
References
- http://www.openwall.com/lists/oss-security/2023/07/06/3 · Mailing List, WEB
- https://github.com/kubernetes/kubernetes/issues/118640 · Issue Tracking, WEB
- https://groups.google.com/g/kubernetes-security-announce/c/vPWYJ_L84m8 · Mailing List, WEB
- https://security.netapp.com/advisory/ntap-20230803-0004/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-2728 · ADVISORY
- https://github.com/kubernetes/kubernetes/pull/118356 · WEB
- https://github.com/kubernetes/kubernetes/pull/118471 · WEB
- https://github.com/kubernetes/kubernetes/pull/118473 · WEB
- https://github.com/kubernetes/kubernetes/pull/118474 · WEB
- https://github.com/kubernetes/kubernetes/pull/118512 · WEB
- https://github.com/kubernetes/kubernetes · PACKAGE
- https://github.com/advisories/GHSA-cgcv-5272-97pr · ADVISORY
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 3 Jul 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 3 Jul 2023)