GHSA-qh36-44jv-c8xj

Suggest an improvement
Source
https://github.com/advisories/GHSA-qh36-44jv-c8xj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-qh36-44jv-c8xj/GHSA-qh36-44jv-c8xj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-qh36-44jv-c8xj
Aliases
Related
Published
2022-02-02T00:01:58Z
Modified
2024-08-21T16:56:43.610898Z
Severity
  • 3.1 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
Potential proxy IP restriction bypass in Kubernetes
Details

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. All versions of Kubernetes are impacted, and there is no fix in place.

Database specific
{
    "nvd_published_at": "2022-02-01T11:15:00Z",
    "cwe_ids": [
        "CWE-367"
    ],
    "severity": "LOW",
    "github_reviewed": true,
    "github_reviewed_at": "2022-02-03T17:52:40Z"
}
References

Affected packages

Go / k8s.io/kubernetes

Package

Name
k8s.io/kubernetes
View open source insights on deps.dev
Purl
pkg:golang/k8s.io/kubernetes

Affected ranges

Type
SEMVER
Events
Introduced
1.21.0
Last affected
1.21.1

Go / k8s.io/kubernetes

Package

Name
k8s.io/kubernetes
View open source insights on deps.dev
Purl
pkg:golang/k8s.io/kubernetes

Affected ranges

Type
SEMVER
Events
Introduced
1.20.0
Last affected
1.20.7

Go / k8s.io/kubernetes

Package

Name
k8s.io/kubernetes
View open source insights on deps.dev
Purl
pkg:golang/k8s.io/kubernetes

Affected ranges

Type
SEMVER
Events
Introduced
1.19.0
Last affected
1.19.11

Go / k8s.io/kubernetes

Package

Name
k8s.io/kubernetes
View open source insights on deps.dev
Purl
pkg:golang/k8s.io/kubernetes

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
1.18.19