ADVISORIES

GitHub Advisory Database

GHSA-4x4m-3c2p-qppc

Kubernetes Nodes can delete themselves by adding an OwnerReference

Details

A vulnerability exists in the NodeRestriction admission controller in Kubernetes clusters where node users can delete their corresponding node object by patching themselves with an OwnerReference to a cluster-scoped resource. If the OwnerReference resource does not exist or is subsequently deleted, the given node object will be deleted via garbage collection.

Affected packages

EcosystemPackageAffected versions
Gok8s.io/kubernetes
All versions before 1.31.12 (fixed in 1.31.12)
Gok8s.io/kubernetes
From 1.32.0-alpha.0 before 1.32.8 (fixed in 1.32.8)
Gok8s.io/kubernetes
From 1.33.0-alpha.0 before 1.33.4 (fixed in 1.33.4)

References