CVE-2020-8562
Bypass of Kubernetes API Server proxy TOCTOU
Also known as GHSA-qh36-44jv-c8xj, GO-2022-0617
Mitigation
- Vendor workaround: If this issue affects your clusters’ control planes, you can use dnsmasq for name resolution and configure the min-cache-ttl and neg-ttl parameters to a low non-zero value to enforce cached replies for proxied connections
Who should check
- Projects that depend on Go package k8s.io/kubernetes (>= 1.21.0, <= 1.21.1)
- Anyone running Kubernetes < *
Vulnerability facts
- Affected
- k8s.io/kubernetes >= 1.21.0, <= 1.21.1
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 2.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: High
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: None
- EPSS
- 1.28% chance of exploitation in 30 days (percentile 70, 2026-11-26)
- CWE
- CWE-367
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go k8s.io/kubernetes | >= 1.21.0, <= 1.21.1 | — | osv |
| Kubernetes | < * | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2020-8562. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2020-8562.md Affected: k8s.io/kubernetes >= 1.21.0, <= 1.21.1 Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for k8s.io/kubernetes (Go), Kubernetes: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
- https://kubernetes.io/blog/2026/05/26/reconciling-unfixed-kubernetes-cves/
- https://github.com/kubernetes/kubernetes/issues/101493
- https://groups.google.com/g/kubernetes-security-announce/c/-MFX60_wdOY
- https://security.netapp.com/advisory/ntap-20220225-0002/
- https://github.com/kubernetes/kubernetes/issues/101493#issuecomment-2272095629
- https://github.com/kubernetes/kubernetes
- https://kubernetes.io/blog/2026/05/26/reconciling-unfixed-kubernetes-cves
- https://security.netapp.com/advisory/ntap-20220225-0002
FAQ
Is CVE-2020-8562 being exploited?
There is no confirmed exploitation: CVE-2020-8562 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.28% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2020-8562?
Low: CVSS 2.2 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2020-8562?
k8s.io/kubernetes >= 1.21.0, <= 1.21.1.
Is there a fix for CVE-2020-8562?
No fixed version is listed in the sources yet. Vendor workaround: If this issue affects your clusters’ control planes, you can use dnsmasq for name resolution and configure the min-cache-ttl and neg-ttl parameters to a low non-zero value to enforce cached replies for proxied connections
How do I check if I'm affected by CVE-2020-8562?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.