Incorrect Privilege Assignment Affecting k8s.io/minikube package, versions >=1.26.0 <1.30.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.2% (59th 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 Learn

Learn about Incorrect Privilege Assignment vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-K8SIOMINIKUBE-5602343
  • published25 May 2023
  • disclosed25 May 2023
  • creditUnknown

Introduced: 25 May 2023

CVE-2023-1174  (opens in a new tab)
CWE-266  (opens in a new tab)

How to fix?

Upgrade k8s.io/minikube to version 1.30.0 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Privilege Assignment due to exposing a network port in minikube running on macOS with Docker driver that could enable unexpected remote access to the minikube container.

Workaround

To continue using an existing cluster, users should change the default port mappings of the minikube container and restart the docker daemon.

Users can run the following command to know if they are affected. If the command returns 0.0.0.0 then users are affected by this vulnerability.

docker inspect --format='{{(index (index .NetworkSettings.Ports "8443/tcp") 0).HostIp}}' minikube

CVSS Base Scores

version 3.1