CVE-2024-3177

Bypassing mountable secrets policy imposed by the ServiceAccount admission plugin

State
Published
Severity
2.7 Low
Published
Apr 22, 2024
Updated
Sep 10, 2024
Reserved
Apr 1, 2024

Read the record on cve.org

Description

A security issue was discovered in Kubernetes where users may be able to launch containers that bypass the mountable secrets policy enforced by the ServiceAccount admission plugin when using containers, init containers, and ephemeral containers with the envFrom field populated. 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 containers, init containers, and ephemeral containers with the envFrom field populated.

Scores

CVSSScoreVectorSource
3.12.7 LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:Nkubernetes

Weaknesses

  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
KubernetesKubernetes
  • 1.27.12 and earlierAffected
  • v1.28.0 - v1.28.8Affected
  • v1.29.0 - v1.29.3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.