VDB
Sign up
CRITICAL9.8

GHSA-579h-mv94-g4gp

Privilege Escalation in Kubernetes

Quick fix

GHSA-579h-mv94-g4gp — github.com/kubernetes/kubernetes: upgrade to the fixed version with the command below.

go get github.com/kubernetes/kubernetes@v1.10.11

Details

In all Kubernetes versions prior to v1.10.11, v1.11.5, and v1.12.3, incorrect handling of error responses to proxied upgrade requests in the kube-apiserver allowed specially crafted requests to establish a connection through the Kubernetes API server to backend servers, then send arbitrary requests over the same connection directly to the backend, authenticated with the Kubernetes API server's TLS credentials used to establish the backend connection.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/kubernetes/kubernetes
Introduced in: 0Fixed in: 1.10.11
Fixgo get github.com/kubernetes/kubernetes@v1.10.11
Go/github.com/kubernetes/kubernetes
Introduced in: 1.11.0Fixed in: 1.11.5
Fixgo get github.com/kubernetes/kubernetes@v1.11.5
Go/github.com/kubernetes/kubernetes
Introduced in: 1.12.0Fixed in: 1.12.3
Fixgo get github.com/kubernetes/kubernetes@v1.12.3

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:golang/github.com/kubernetes/kubernetes"]}'