ADVISORIES

GitHub Advisory Database

GHSA-vv39-3w5q-974q

Kubernetes allows Command Injection affecting Windows nodes via nodes/*/logs/query API

Details

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.

Affected packages

EcosystemPackageAffected versions
Gok8s.io/kubernetes
All versions before 1.29.13 (fixed in 1.29.13)
Gok8s.io/kubernetes
From 1.30.0-alpha.0 before 1.30.9 (fixed in 1.30.9)
Gok8s.io/kubernetes
From 1.31.0-alpha.0 before 1.31.5 (fixed in 1.31.5)
Gok8s.io/kubernetes
From 1.32.0-alpha.0 before 1.32.1 (fixed in 1.32.1)

References