GHSA-4x4m-3c2p-qppc

Kubernetes Nodes can delete themselves by adding an OwnerReference

At a glance

Published
Updated
CVE
CVE-2025-5187
Aliases
GO-2025-3915
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L

Description

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

PackageVersions
Go · k8s.io/kubernetesintroduced 0, fixed 1.31.12
Go · k8s.io/kubernetesintroduced 1.32.0-alpha.0, fixed 1.32.8
Go · k8s.io/kubernetesintroduced 1.33.0-alpha.0, fixed 1.33.4

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database