Bypassing enforce mountable secrets policy imposed by the ServiceAccount admission plugin
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 1.27.3, 1.26.6, 1.25.11, 1.24.15
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 1 proof of concept on GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Kubernetes Kubernetes
From v1.24.14
- k8s.io/kubernetesGo
From 1.27.0 · fixed in 1.27.3
- k8s.io/kubernetesGo
From 1.26.0 · fixed in 1.26.6
- k8s.io/kubernetesGo
From 1.25.0 · fixed in 1.25.11
- k8s.io/kubernetesGo
fixed in 1.24.15
- k8s.io/kubernetesGo
fixed in 1.24.15; From 1.25.0 · fixed in 1.25.11; From 1.26.0 · fixed in 1.26.6; From 1.27.0 · fixed in 1.27.3