CVE-2025-5187 Affecting kubernetes-csi-driver-hostpath package, versions <1.17.0-r4


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.02% (6th 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-CHAINGUARDLATEST-KUBERNETESCSIDRIVERHOSTPATH-12253048
  • published30 Aug 2025
  • disclosed27 Aug 2025

Introduced: 27 Aug 2025

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

How to fix?

Upgrade Chainguard kubernetes-csi-driver-hostpath to version 1.17.0-r4 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kubernetes-csi-driver-hostpath package and not the kubernetes-csi-driver-hostpath package as distributed by Chainguard. See How to fix? for Chainguard 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