CVE-2024-3177Kubernetes
Low 2.7
Follow: this CVE · Kubernetes · Kubernetes We alert you by email or Slack (account required).
- Priority
- 16
- CVSS 3.1
- 2.7
- EPSS
- 2.2% probability of exploitation in 30 days · percentile 83
- Auth required
- Yes
- Published
- Apr 22, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Kubernetes.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | k8s.io/kubernetes |
< 1.27.13 |
1.27.13 |
go get k8s.io/kubernetes@v1.27.13 |
| Go | k8s.io/kubernetes |
≥ 1.29.0 < 1.29.4 |
1.29.4 |
go get k8s.io/kubernetes@v1.29.4 |
| Go | k8s.io/kubernetes |
≥ 1.28.0 < 1.28.9 |
1.28.9 |
go get k8s.io/kubernetes@v1.28.9 |
| Go | k8s.io/kubernetes |
< 1.27.13 |
1.27.13 |
go get k8s.io/kubernetes@v1.27.13 |
| Go | k8s.io/kubernetes |
≥ 1.28.0 < 1.28.9 |
1.28.9 |
go get k8s.io/kubernetes@v1.28.9 |
| Go | k8s.io/kubernetes |
≥ 1.29.0 < 1.29.4 |
1.29.4 |
go get k8s.io/kubernetes@v1.29.4 |
Per OSV / GitHub Advisories (GHSA-pxhw-596r-rwq5, GO-2024-2746). Check the version in your lockfile before upgrading.
Affected products
- Kubernetes · Kubernetes
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Red Hat Security Advisory: Red Hat build of MicroShift 4.16.0 security update · Red Hat · RHSA-2024:0043 · Oct 1, 2024 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.