VDB

CVE-2020-8562

CVE-2020-8562 PUBLISHED CVSS 2.2 LOW

Bypass of Kubernetes API Server proxy TOCTOU

Reported by kubernetes · Published February 1, 2022

k8s.io/kubernetes is fixed in 1.21.1, 1.20.7, 1.19.11 and 1 more (Go Modules)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
k8s.io/kubernetesGo Modules1.21.1, 1.20.7, 1.19.11, 1.18.19
kuberneteskubernetes1.20.6, 1.19.10, 1.18.18

Risk scores

CVSS 3.1
2.2
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N

Affected products

VendorProductVersions
KubernetesKubernetes0
k8s.iokubernetes1.21.0, 1.20.0, 1.19.0
archkube-scheduler*
KubernetesKubernetes0
archkubelet*
archkube-controller-manager*
chainguardkubernetes-dns-node-cache-1.17*
chainguardkubeflow-pipelines*
archkube-apiserver*
wolfikubeflow-pipelines*
archkube-proxy*

Timeline

  • May 27, 2021 PoC Published
  • Feb 1, 2022 CVE Published
  • Feb 2, 2022 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Security Advisory
  • Aug 28, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-8562
vulnetix vdb fixes CVE-2020-8562

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-8562/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›