CVE-2023-2728 Bypassing enforce mountable secrets policy imposed by the ServiceAccount admission plugin
MediumCVSS 6.5
EPSS 2.2%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| Kubernetes(Go) | >= 1.27.0, < 1.27.3 | 1.27.3 |
| Kubernetes(Go) | >= 1.26.0, < 1.26.6 | 1.26.6 |
| Kubernetes(Go) | >= 1.25.0, < 1.25.11 | 1.25.11 |
| Kubernetes(Go) | < 1.24.15 | 1.24.15 |
| debian/kubernetes(Debian:12) | < 1.20.5+really1.20.2-1 | 1.20.5+really1.20.2-1 |
| debian/kubernetes(Debian:13) | < 1.20.5+really1.20.2-1 | 1.20.5+really1.20.2-1 |
| debian/kubernetes(Debian:14) | < 1.20.5+really1.20.2-1 | 1.20.5+really1.20.2-1 |
| Kubernetes | >= v1.24.14, <= <= | No fix listed |
| Kubernetes | = v1.25.0 - v1.25.10 | No fix listed |
| Kubernetes | = v1.26.0 - v1.26.5 | No fix listed |
| Kubernetes | = v1.27.0 - v1.27.2 | No fix listed |
| alpine/k3s(Alpine:v3.18) | < 1.27.3.1-r0 | 1.27.3.1-r0 |
| alpine/k3s(Alpine:v3.19) | < 1.27.3.1-r0 | 1.27.3.1-r0 |
| alpine/k3s(Alpine:v3.20) | < 1.27.3.1-r0 | 1.27.3.1-r0 |
| alpine/k3s(Alpine:v3.21) | < 1.27.3.1-r0 | 1.27.3.1-r0 |
| alpine/k3s(Alpine:v3.22) | < 1.27.3.1-r0 | 1.27.3.1-r0 |
| alpine/k3s(Alpine:v3.23) | < 1.27.3.1-r0 | 1.27.3.1-r0 |
| alpine/k3s(Alpine:v3.24) | < 1.27.3.1-r0 | 1.27.3.1-r0 |
| Kubernetes | <= 1.24.14 | No fix listed |
| Kubernetes | >= 1.25.0, <= 1.25.10 | No fix listed |
| Kubernetes | >= 1.26.0, <= 1.26.5 | No fix listed |
| Kubernetes | >= 1.27.0, <= 1.27.2 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com product
- groups.google.com mailing-list
- security.netapp.com
- www.openwall.com mailing-list
- github.com vendor-advisory
- Debian Security Tracker CVE-2023-2728 vendor-advisory
- security.alpinelinux.org vendor-advisory