# CVE-2020-8562: Bypass of Kubernetes API Server proxy TOCTOU

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 2.2
- **CVSS:** 2.2 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.28% (percentile 70, 2026-11-26)
- **CWE:** CWE-367
- **Aliases:** GHSA-qh36-44jv-c8xj, GO-2022-0617
- **Published:** 2022-02-01T10:33:00.317Z
- **Modified:** 2026-09-10T03:49:17.135Z

## Who should check

- Projects that depend on Go package k8s.io/kubernetes (\>= 1.21.0, \<= 1.21.1)
- Anyone running Kubernetes \< \*

## 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

- Go `k8s.io/kubernetes`: affected \>= 1.21.0, \<= 1.21.1; fixed no fix listed yet (osv)
- Kubernetes: \< \* (cvelist)

## 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

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2020-8562>
- vendor: <https://github.com/advisories/GHSA-qh36-44jv-c8xj>
- other: <https://kubernetes.io/blog/2026/05/26/reconciling-unfixed-kubernetes-cves/>
- other: <https://github.com/kubernetes/kubernetes/issues/101493>
- other: <https://groups.google.com/g/kubernetes-security-announce/c/-MFX60_wdOY>
- other: <https://security.netapp.com/advisory/ntap-20220225-0002/>
- other: <https://github.com/kubernetes/kubernetes/issues/101493#issuecomment-2272095629>
- other: <https://github.com/kubernetes/kubernetes>
- other: <https://kubernetes.io/blog/2026/05/26/reconciling-unfixed-kubernetes-cves>
- other: <https://security.netapp.com/advisory/ntap-20220225-0002>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2020-8562>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-qh36-44jv-c8xj> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2022-0617> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2020-8562> · JSON: <https://flawdb.com/api/v1/entries/CVE-2020-8562>
