GitHub Advisoryadvisory · Go

GHSA-pxhw-596r-rwq5 Kubernetes allows bypassing mountable secrets policy imposed by the ServiceAccount admission plugin

LOW Published 2024-04-23 Modified 2024-07-03 Official page ↗
Aliases
CVE-2024-3177
Ecosystem
Go
Packages
k8s.io/kubernetes
Severity
Low
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-20
Reviewed
2024-04-23

Affected packages

• Go k8s.io/kubernetes: < 1.27.13 → fixed in 1.27.13 • Go k8s.io/kubernetes: >= 1.29.0, < 1.29.4 → fixed in 1.29.4 • Go k8s.io/kubernetes: >= 1.28.0, < 1.28.9 → fixed in 1.28.9

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.

Related

Alias · CVE (1)

  • CVE-2024-3177 A security issue was discovered in Kubernetes where users may be able to launch containers that bypass the mountable secrets policy… vulnerability

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References