Skip to content
OpenAdvisories
Low · 2.2 CVE-2020-8562 EUVD-2022-1153GHSA-qh36-44jv-c8xj

Bypass of Kubernetes API Server proxy TOCTOU

Published Feb 1, 2022 · Updated Jun 1, 2026 · Assigned by kubernetes

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 products

VendorProductAffectedFixed
Kubernetes Kubernetes — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 kubernetes 1.20.5+really1.20.2-1 —
Debian 13 kubernetes 1.20.5+really1.20.2-1 —
Debian 12 kubernetes 1.20.5+really1.20.2-1 —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250807T150727-1.1 openSUSE-SU-2025:15424-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 kubernetes No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Go k8s.io/kubernetes >= 1.21.0, <= 1.21.1 — GHSA-qh36-44jv-c8xj
Go k8s.io/kubernetes >= 1.20.0, <= 1.20.7 — GHSA-qh36-44jv-c8xj
Go k8s.io/kubernetes >= 1.19.0, <= 1.19.11 — GHSA-qh36-44jv-c8xj
Go k8s.io/kubernetes <= 1.18.19 — GHSA-qh36-44jv-c8xj

Advisories 2

References