CVE-2020-8562

Bypass of Kubernetes API Server proxy TOCTOU

Published Feb 1, 2022 CVSS 3.1 · 2.2 Low EPSS 1.2% KEV · Not listed
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.

Remediation

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

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-1153 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.
Github GHSA Github GHSA GHSA-qh36-44jv-c8xj Potential proxy IP restriction bypass in Kubernetes
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00058}

epss

{'score': 0.00054}

Weaknesses

Sources

Status
PUBLISHED
Assigner
kubernetes
Published
Updated
Jun 1, 2026, 9:45 PM
Reserved
Feb 3, 2020, 12:00 AM
Status
Modified
Published
Feb 1, 2022, 11:15 AM
Modified
Jun 17, 2026, 3:26 AM
Severity
Low
Public date
May 4, 2021, 12:00 AM