CVE-2025-5187 Affecting kubernetes-1.31 package, versions <1.31.12-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.02% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-MINIMOSLATEST-KUBERNETES131-13331010
  • published6 Oct 2025
  • disclosed27 Aug 2025

Introduced: 27 Aug 2025

CVE-2025-5187  (opens in a new tab)

How to fix?

Upgrade Minimos:latest kubernetes-1.31 to version 1.31.12-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kubernetes-1.31 package and not the kubernetes-1.31 package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1