Vulnerability · Published Feb 1, 2022 · Assigned by kubernetes

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

Low 2.2

In plain English

A low-severity security flaw in Kubernetes from Kubernetes. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)2.2Low
Exploit odds (30 days)1.2%top 32.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12kubernetes1.20.5+really1.20.2-1DEBIAN-CVE-2020-8562
Debian:13kubernetes1.20.5+really1.20.2-1DEBIAN-CVE-2020-8562
Debian:14kubernetes1.20.5+really1.20.2-1DEBIAN-CVE-2020-8562
Gok8s.io/kubernetesno fix listedGHSA-qh36-44jv-c8xj
Gok8s.io/kubernetesno fix listedGO-2022-0617
Gok8s.io/kubernetesno fix listedGHSA-qh36-44jv-c8xj
Gok8s.io/kubernetesno fix listedGHSA-qh36-44jv-c8xj
Gok8s.io/kubernetesno fix listedGHSA-qh36-44jv-c8xj
Ubuntu:22.04:LTSkubernetesno fix listedUBUNTU-CVE-2020-8562
Ubuntu:24.04:LTSkubernetesno fix listedUBUNTU-CVE-2020-8562

Affected products (as reported)

VendorProductVersions
Kubernetes Kubernetes 0 – before *

Weakness: CWE-367 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N

References