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.11Details
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
0Fixed in: 1.10.11go get github.com/kubernetes/kubernetes@v1.10.111.11.0Fixed in: 1.11.5go get github.com/kubernetes/kubernetes@v1.11.51.12.0Fixed in: 1.12.3go get github.com/kubernetes/kubernetes@v1.12.3References
- https://nvd.nist.gov/vuln/detail/CVE-2018-1002105[ADVISORY]
- https://github.com/kubernetes/kubernetes/issues/71411[WEB]
- https://github.com/kubernetes/kubernetes/commit/2257c1ecbe3c0cf71dd50b82752ae189c94ec905[WEB]
- https://www.securityfocus.com/bid/106068[WEB]
- https://www.openwall.com/lists/oss-security/2019/07/06/4[WEB]
- https://www.openwall.com/lists/oss-security/2019/07/06/3[WEB]
- https://www.openwall.com/lists/oss-security/2019/06/28/2[WEB]
- https://www.exploit-db.com/exploits/46053[WEB]
- https://www.exploit-db.com/exploits/46052[WEB]
- https://www.coalfire.com/The-Coalfire-Blog/December-2018/Kubernetes-Vulnerability-What-You-Can-Should-Do[WEB]
- https://security.netapp.com/advisory/ntap-20190416-0001[WEB]
- https://lists.opensuse.org/opensuse-security-announce/2020-04/msg00041.html[WEB]
- https://groups.google.com/forum/#!topic/kubernetes-announce/GVllWCg6L88[WEB]
- https://github.com/evict/poc_CVE-2018-1002105[WEB]
- https://access.redhat.com/errata/RHSA-2018:3754[WEB]
- https://access.redhat.com/errata/RHSA-2018:3752[WEB]
- https://access.redhat.com/errata/RHSA-2018:3742[WEB]
- https://access.redhat.com/errata/RHSA-2018:3624[WEB]
- https://access.redhat.com/errata/RHSA-2018:3598[WEB]
- https://access.redhat.com/errata/RHSA-2018:3551[WEB]
- https://access.redhat.com/errata/RHSA-2018:3549[WEB]
- https://access.redhat.com/errata/RHSA-2018:3537[WEB]
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"]}'