CVE-2020-8562

LOW

kubernetes < 1.18.18 and >=1.21.0 - Time-of-check Time-of-use Race Condition in DNS Resolution

Title source: llm
STIX 2.1

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.

References (4)

Core 4
Core References
Issue Tracking, Mitigation, Third Party Advisory x_refsource_misc
https://github.com/kubernetes/kubernetes/issues/101493
Mailing List, Third Party Advisory x_refsource_misc
https://groups.google.com/g/kubernetes-security-announce/c/-MFX60_wdOY
Third Party Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20220225-0002/

Scores

CVSS v3 2.2
EPSS 0.0108
EPSS Percentile 60.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N

Details

CWE
CWE-367
Status published
Products (6)
k8s.io/kubernetes 0 - 1.18.19Go
k8s.io/kubernetes 1.19.0 - 1.19.11Go
k8s.io/kubernetes 1.20.0 - 1.20.7Go
k8s.io/kubernetes 1.21.0 - 1.21.1Go
kubernetes/kubernetes 1.21.0
kubernetes/kubernetes < 1.18.18
Published Feb 01, 2022
Tracked Since Feb 18, 2026