Advisory

GHSA-pxhw-596r-rwq5

Also known as: CVE-2024-3177, GO-2024-2746

Summary

Kubernetes allows bypassing mountable secrets policy imposed by the ServiceAccount admission plugin

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2024-04-23 00:30 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

k8s.io/kubernetes

Go · All systems

Affected

  • introduced 0, fixed 1.27.13 (semver)

Fixed versions

1.27.13

Fix

k8s.io/kubernetes

Go · All systems

Affected

  • introduced 1.29.0, fixed 1.29.4 (semver)

Fixed versions

1.29.4

Fix

k8s.io/kubernetes

Go · All systems

Affected

  • introduced 1.28.0, fixed 1.28.9 (semver)

Fixed versions

1.28.9

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences