{"id":"CVE-2020-8562","published":"2022-02-01T10:33:00Z","modified":"2026-06-01T21:45:40Z","title":"Bypass of Kubernetes API Server proxy TOCTOU","vendor":"Kubernetes","product":"Kubernetes","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.2,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01186,"percentile":0.68626,"provenance":"source"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"references":[{"url":"https://kubernetes.io/blog/2026/05/26/reconciling-unfixed-kubernetes-cves/","tags":["x_refsource_MISC"]},{"url":"https://github.com/kubernetes/kubernetes/issues/101493","tags":["x_refsource_MISC"]},{"url":"https://groups.google.com/g/kubernetes-security-announce/c/-MFX60_wdOY","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20220225-0002/","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.3,"factors":[{"name":"EPSS percentile","points":13.73},{"name":"CVSS severity","points":1.54}]},"vendorSlug":"kubernetes","affectedVersions":[{"vendor":"Kubernetes","product":"Kubernetes","versions":["all versions"]}],"workarounds":{"items":["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"],"from":"CVE.org CNA","provenance":"source"},"affected":[{"ecosystem":"Go","package":"k8s.io/kubernetes","vulnerableRanges":[">=1.21.0, <=1.21.1",">=1.20.0, <=1.20.7",">=1.19.0, <=1.19.11","<=1.18.19"],"patched":[],"from":["GHSA-qh36-44jv-c8xj"],"provenance":"source"}],"euvd":{"id":"EUVD-2022-1153","exploited":false,"provenance":"source"}}