Improper Input Validation Affecting github.com/kubernetes/kubernetes/staging/src/k8s.io/mount-utils package, versions >=1.8.0 <1.25.16>=1.26.0 <1.26.11>=1.27.0 <1.27.8>=1.28.0 <1.28.4


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
4.13% (92nd 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-GOLANG-GITHUBCOMKUBERNETESKUBERNETESSTAGINGSRCK8SIOMOUNTUTILS-6057535
  • published15 Nov 2023
  • disclosed14 Nov 2023
  • creditTomer Peled

Introduced: 14 Nov 2023

CVE-2023-5528  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade github.com/kubernetes/kubernetes/staging/src/k8s.io/mount-utils to version 1.25.16, 1.26.11, 1.27.8, 1.28.4 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation via the MountSensitive and removeSMBMapping functions in the mount_windows.go file. An attacker with access to create pods and persistent volumes on Windows nodes can escalate to admin privileges on those nodes.

Note:

This is only exploitable if the Kubernetes clusters are using an in-tree storage plugin for Windows nodes.

CVSS Base Scores

version 3.1