CVE-2024-5321: Kubernetes sets incorrect permissions on Windows containers logs
A security issue was discovered in Kubernetes clusters with Windows nodes where BUILTIN\Users may be able to read container logs and NT AUTHORITY\Authenticated Users may be able to modify container logs.
Published Jul 18, 2024 · Updated Nov 18, 2024
Affected packages
k8s.io/kubernetes
- Ecosystem
- Go
- Affected
- < 1.27.16
- Fixed in
- 1.27.16
- Check
go list -m k8s.io/kubernetes
k8s.io/kubernetes
- Ecosystem
- Go
- Affected
- >= 1.28.0, < 1.28.12
- Fixed in
- 1.28.12
- Check
go list -m k8s.io/kubernetes
k8s.io/kubernetes
- Ecosystem
- Go
- Affected
- >= 1.29.0, < 1.29.7
- Fixed in
- 1.29.7
- Check
go list -m k8s.io/kubernetes
k8s.io/kubernetes
- Ecosystem
- Go
- Affected
- >= 1.30.0, < 1.30.3
- Fixed in
- 1.30.3
- Check
go list -m k8s.io/kubernetes
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A security issue was discovered in Kubernetes clusters with Windows nodes where BUILTIN\Users may be able to read container logs and NT AUTHORITY\Authenticated Users may be able to modify container logs.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-5321
- https://github.com/kubernetes/kubernetes/issues/126161
- https://groups.google.com/g/kubernetes-security-announce/c/81c0BHkKNt0
- https://github.com/kubernetes/kubernetes/commit/23660a78ae462a6c8c75ac7ffd9af97550dda1aa
- https://github.com/kubernetes/kubernetes/commit/84beb2915fa28ae477fe0676be8ba94ccd2b811a
- https://github.com/kubernetes/kubernetes/commit/90589b8f63d28bcd3db89749950ebc48ed07c190
- https://github.com/kubernetes/kubernetes/commit/de2033033b1d202ecaaa79d41861a075df8b49c1
- https://github.com/advisories/GHSA-82m2-cv7p-4m75
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2025-13281
kube-controller-manager is vulnerable to half-blind Server Side Request Forgery through in-tree Portworx StorageClass
medium5.8Dec 15, 2025CVE-2025-5187
Kubernetes Nodes can delete themselves by adding an OwnerReference
medium6.7Aug 27, 2025CVE-2025-4563
kubernetes allows nodes to bypass dynamic resource allocation authorization checks
low2.7Jun 23, 2025CVE-2024-9042
Kubernetes allows Command Injection affecting Windows nodes via nodes/*/logs/query API
medium5.9Mar 13, 2025CVE-2025-1767
Kubernetes GitRepo Volume Inadvertent Local Repository Access
medium6.5No fixMar 13, 2025CVE-2025-0426
Node Denial of Service via kubelet Checkpoint API
medium6.2Feb 13, 2025
