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

Published Feb 1, 2022
·
Updated

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 Software

8 affected components
go/k8s.io/kubernetes<=1.18.19
go/k8s.io/kubernetes>=1.19.0<=1.19.11
go/k8s.io/kubernetes>=1.20.0<=1.20.7
go/k8s.io/kubernetes>=1.21.0<=1.21.1
Kubernetes kubernetes<=1.18.18
Kubernetes kubernetes>=1.19.0<=1.19.10
Kubernetes kubernetes>=1.20.0<=1.20.6
Kubernetes kubernetes=1.21.0

Event History

Feb 1, 2022
CVE Published
via MITRE·10:33 AM
Data Sourced
via MITRE·10:33 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:15 AM
DescriptionSeverityWeaknessAffected Software
Feb 2, 2022
Advisory Published
via GitHub·12:01 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2020-8562?

CVE-2020-8562 is a vulnerability in Kubernetes that allows proxied connections to access link-local or localhost networks.

2

How severe is CVE-2020-8562?

CVE-2020-8562 has a severity value of 3.1, which is considered low.

3

Which versions of Kubernetes are affected by CVE-2020-8562?

Kubernetes versions 1.18.18, 1.19.0 to 1.19.10, 1.20.0 to 1.20.6, and 1.21.0 are affected by CVE-2020-8562.

4

How can I mitigate CVE-2020-8562?

To mitigate CVE-2020-8562, ensure that Kubernetes is configured to prevent proxied connections from accessing link-local or localhost networks.

5

Where can I find more information about CVE-2020-8562?

You can find more information about CVE-2020-8562 in the following references: [Reference 1](https://github.com/kubernetes/kubernetes/issues/101493), [Reference 2](https://groups.google.com/g/kubernetes-security-announce/c/-MFX60_wdOY), [Reference 3](https://security.netapp.com/advisory/ntap-20220225-0002/)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203