CVE-2024-3177
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.
How to fix
- k8s.io/kubernetes1.27.13, 1.29.4, 1.28.9 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| k8s.io/kubernetesGo | v < 1.27.13, 1.29.0 ≤ v < 1.29.4, 1.28.0 ≤ v < 1.28.9 | 1.27.13, 1.29.4, 1.28.9 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.