CVE-2020-8562
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2020-8562
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2020-8562.html
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| arch | affected | | |
| sles | affected | | |
| debian | bookworm | fixed | 1.20.5+really1.20.2-1 |
| debian | bullseye | fixed | 1.20.5+really1.20.2-1 |
| debian | forky | fixed | 1.20.5+really1.20.2-1 |
| debian | sid | fixed | 1.20.5+really1.20.2-1 |
| debian | trixie | fixed | 1.20.5+really1.20.2-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Go | k8s.io/kubernetes | >=1.21.0,<=1.21.1 | |
| Go | k8s.io/kubernetes | >=1.20.0,<=1.20.7 | |
| Go | k8s.io/kubernetes | >=1.19.0,<=1.19.11 | |
| Go | k8s.io/kubernetes | <=1.18.19 | |
| Go | k8s.io/kubernetes | | |
References
- https://www.suse.com/security/cve/CVE-2020-8562.html
- https://nvd.nist.gov/vuln/detail/CVE-2020-8562
- https://github.com/kubernetes/kubernetes/issues/101493
- https://github.com/kubernetes/kubernetes/issues/101493#issuecomment-2272095629
- https://github.com/kubernetes/kubernetes
- https://groups.google.com/g/kubernetes-security-announce/c/-MFX60_wdOY
- https://security.netapp.com/advisory/ntap-20220225-0002
- https://github.com/advisories/GHSA-qh36-44jv-c8xj
- https://security-tracker.debian.org/tracker/CVE-2020-8562
Verify integrity in audit chain (admin only). AS-IS.