CVE-2024-9042
Kubernetes allows Command Injection affecting Windows nodes via nodes/*/logs/query API
This CVE affects only Windows worker nodes. Your worker node is vulnerable to this issue if it is running one of the affected versions listed below.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- High
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
5.9
This CVE affects only Windows worker nodes. Your worker node is vulnerable to this issue if it is running one of the affected versions listed below.
- Record
CVE-2024-9042- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-20
- Updated
- 2026-11-02
EUVDEUVD-2024-54053
5.9
This CVE affects only Windows worker nodes. Your worker node is vulnerable to this issue if it is running one of the affected versions listed below.
- Record
EUVD-2024-54053- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-vv39-3w5q-974q
5.9
Kubernetes allows Command Injection affecting Windows nodes via nodes/*/logs/query API
A security vulnerability has been discovered in Kubernetes windows nodes that could allow a user with the ability to query a node's '/logs' endpoint to execute arbitrary commands on the host. This CVE affects only Windows worker nodes. Your worker node is vulnerable to this issue if it is running one of the affected versions listed below.
- Record
GHSA-vv39-3w5q-974q- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-20, CWE-77
- Updated
- 2026-11-02
NVD
5.9
This CVE affects only Windows worker nodes. Your worker node is vulnerable to this issue if it is running one of the affected versions listed below.
- Record
CVE-2024-9042- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-20
- Updated
- 2026-11-02
OSV
5.9
This CVE affects only Windows worker nodes. Your worker node is vulnerable to this issue if it is running one of the affected versions listed below.
- Record
CVE-2024-9042- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-20
- Updated
- 2026-11-02
OSVGHSA-vv39-3w5q-974q
5.9
Kubernetes allows Command Injection affecting Windows nodes via nodes/*/logs/query API
A security vulnerability has been discovered in Kubernetes windows nodes that could allow a user with the ability to query a node's '/logs' endpoint to execute arbitrary commands on the host. This CVE affects only Windows worker nodes. Your worker node is vulnerable to this issue if it is running one of the affected versions listed below.
- Record
GHSA-vv39-3w5q-974q- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-20, CWE-77
- Updated
- 2026-11-02
OSVGO-2025-3522 No score
Kubernetes allows Command Injection affecting Windows nodes via nodes/*/logs/query API in k8s.io/kubernetes
Kubernetes allows Command Injection affecting Windows nodes via nodes/*/logs/query API in k8s.io/kubernetes
- Record
GO-2025-3522- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:14937-1 No score
govulncheck-vulndb-0.0.20250327T184518-1.1 on GA media
These are all security issues fixed in the govulncheck-vulndb-0.0.20250327T184518-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:14937-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
k8s.io/kubernetesGo |
before 1.29.13 | 1.29.13 |
k8s.io/kubernetesGo |
1.30.0-alpha.0 up to 1.30.9 | 1.30.9 |
k8s.io/kubernetesGo |
1.31.0-alpha.0 up to 1.31.5 | 1.31.5 |
k8s.io/kubernetesGo |
1.32.0-alpha.0 up to 1.32.1 | 1.32.1 |
k8s.io/kubernetesGo |
before 1.29.13, 1.30.0-alpha.0 up to 1.30.9, 1.31.0-alpha.0 up to 1.31.5, 1.32.0-alpha.0 up to 1.32.1 | 1.29.131.30.91.31.51.32.1 |
govulncheck-vulndbopenSUSE:Tumbleweed From an advisory covering 30 CVEs |
before 0.0.20250327T184518-1.1 | 0.0.20250327T184518-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-9042 is a medium vulnerability (CVSS 5.9) in Kubernetes Kubelet, published March 13, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.40%, the 72nd percentile. Fixed in k8s.io/kubernetes 1.29.13.
References
github.com/kubernetes/kubernetes/issues/129654
groups.google.com/g/kubernetes-security-announce/c/9C3vn6aCSVg
openwall.com/lists/oss-security/2025/01/16/1
nvd.nist.gov/vuln/detail/CVE-2024-9042
github.com/kubernetes/kubernetes/commit/45f4ccc2153bbb782253704cbe24c05e22b5d60c
github.com/kubernetes/kubernetes/commit/5fe148234f8ab1184f26069c4f7bef6c37efe347
Show 36 moreShow less
github.com/kubernetes/kubernetes/commit/75c83a6871dc030675288c6d63c275a43c2f0d55
github.com/kubernetes/kubernetes/commit/fb0187c2bf7061258bb89891edb1237261eb7abc
github.com/advisories/GHSA-vv39-3w5q-974q
github.com/CVEProject/cvelistV5/tree/main/cves/2024/9xxx/CVE-2024-9042.json
github.com/kubernetes/kubernetes
lists.opensuse.org/archives/list/[email protected]/thread/NEVFAGUWHTVZSJTUAIU6C4S26DP2KIGB
suse.com/security/cve/CVE-2024-25132
suse.com/security/cve/CVE-2024-53348
suse.com/security/cve/CVE-2024-53351
suse.com/security/cve/CVE-2024-7598
suse.com/security/cve/CVE-2024-7631
suse.com/security/cve/CVE-2024-9042
suse.com/security/cve/CVE-2024-9900
suse.com/security/cve/CVE-2025-1097
suse.com/security/cve/CVE-2025-1098
suse.com/security/cve/CVE-2025-1472
suse.com/security/cve/CVE-2025-1767
suse.com/security/cve/CVE-2025-1974
suse.com/security/cve/CVE-2025-24513
suse.com/security/cve/CVE-2025-24514
suse.com/security/cve/CVE-2025-24920
suse.com/security/cve/CVE-2025-25068
suse.com/security/cve/CVE-2025-25274
suse.com/security/cve/CVE-2025-27612
suse.com/security/cve/CVE-2025-27715
suse.com/security/cve/CVE-2025-27933
suse.com/security/cve/CVE-2025-29778
suse.com/security/cve/CVE-2025-29914
suse.com/security/cve/CVE-2025-29922
suse.com/security/cve/CVE-2025-29923
suse.com/security/cve/CVE-2025-30077
suse.com/security/cve/CVE-2025-30153
suse.com/security/cve/CVE-2025-30162
suse.com/security/cve/CVE-2025-30163
suse.com/security/cve/CVE-2025-30179
suse.com/security/cve/CVE-2025-30204