CVE-2020-8562
Bypass of Kubernetes API Server proxy TOCTOU
Reported by kubernetes · Published February 1, 2022
k8s.io/kubernetes is fixed in 1.21.1, 1.20.7, 1.19.11 and 1 more (Go Modules)
As mitigations to a report from 2019 and CVE-2020-8555, Kubernetes attempts to prevent proxied connections from accessing link-local or localhost networks when making user-driven connections to Services, Pods, Nodes, or StorageClass service providers. As part of this mitigation Kubernetes does a DNS name resolution check and validates that response IPs are not in the link-local (169.254.0.0/16) or localhost (127.0.0.0/8) range. Kubernetes then performs a second DNS resolution without validation for the actual connection. If a non-standard DNS server returns different non-cached responses, a user may be able to bypass the proxy IP restriction and access private networks on the control plane.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| k8s.io/kubernetes | Go Modules | 1.21.1, 1.20.7, 1.19.11, 1.18.19 |
| kubernetes | kubernetes | 1.20.6, 1.19.10, 1.18.18 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Kubernetes | Kubernetes | 0 |
| k8s.io | kubernetes | 1.21.0, 1.20.0, 1.19.0 |
| arch | kube-scheduler | * |
| Kubernetes | Kubernetes | 0 |
| arch | kubelet | * |
| arch | kube-controller-manager | * |
| chainguard | kubernetes-dns-node-cache-1.17 | * |
| chainguard | kubeflow-pipelines | * |
| arch | kube-apiserver | * |
| wolfi | kubeflow-pipelines | * |
| arch | kube-proxy | * |
Timeline
- May 27, 2021 PoC Published
- Feb 1, 2022 CVE Published
- Feb 2, 2022 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory
- Aug 28, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-8562
vulnetix vdb fixes CVE-2020-8562
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-8562/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2020-8562 advisory
- https://github.com/advisories/GHSA-qh36-44jv-c8xj advisory
- https://github.com/kubernetes/kubernetes/issues/101493#issuecomment-2272095629 url
- https://security.netapp.com/advisory/ntap-20220225-0002 advisory
- https://kubernetes.io/blog/2026/05/26/reconciling-unfixed-kubernetes-cves url