Skip to main content
← All vulnerabilities
CVE-2023-2728GHSA-CGCV-5272-97PRGO-2023-1892

Bypassing enforce mountable secrets policy imposed by the ServiceAccount admission plugin

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.27.3, 1.26.6, 1.25.11, 1.24.15
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

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. 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

References 5

groups.google.com

GitHub · kubernetes/kubernetes

openwall.com

security.netapp.com

GitHub · Cgv-Dev/Metasploit-Module-TFM