HighGHSA-jh36-q97c-9928CVE-2022-3294GO-2023-1629

Kubernetes vulnerable to validation bypass

Published 1 Mar 2023 · Updated 20 Aug 2024

Is your project on an affected github.com/kubernetes/kubernetes?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
>=1.25.0 <1.25.4
Fixed in
1.25.4
Update to the fixed version for your release line, for example:go get github.com/kubernetes/kubernetes@v1.25.4
Affected
>=1.24.0 <1.24.8
Fixed in
1.24.8
Update to the fixed version for your release line, for example:go get github.com/kubernetes/kubernetes@v1.24.8
Affected
>=1.23.0 <1.23.14
Fixed in
1.23.14
Update to the fixed version for your release line, for example:go get github.com/kubernetes/kubernetes@v1.23.14
Affected
>=1.22.0 <1.22.16
Fixed in
1.22.16
Update to the fixed version for your release line, for example:go get github.com/kubernetes/kubernetes@v1.22.16

Details

Users may have access to secure endpoints in the control plane network. Kubernetes clusters are only affected if an untrusted user can modify Node objects and send proxy requests to them. Kubernetes supports node proxying, which allows clients of kube-apiserver to access endpoints of a Kubelet to establish connections to Pods, retrieve container logs, and more. While Kubernetes already validates the proxying address for Nodes, a bug in kube-apiserver made it possible to bypass this validation. Bypassing this validation could allow authenticated requests destined for Nodes to to the API server's private network.

Is GHSA-jh36-q97c-9928 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/kubernetes/kubernetes, and gives you the command that fixes it.

More advisories for github.com/kubernetes/kubernetes

  • LowCVE-2016-1905Access Restriction Bypass in kubernetes in github.com/kubernetes/kubernetes · 21 Aug 2024
  • LowCVE-2015-7528Information Exposure in Kubernetes in github.com/kubernetes/kubernetes · 21 Aug 2024
  • LowCVE-2018-1002105Privilege Escalation in Kubernetes in github.com/kubernetes/kubernetes · 21 Aug 2024
  • MediumCVE-2020-8563Sensitive Information leak via Log File in Kubernetes · 24 Apr 2024
  • MediumCVE-2020-8566Sensitive Information leak via Log File in Kubernetes · 24 Apr 2024
  • MediumCVE-2022-3162Kubernetes vulnerable to path traversal · 1 Mar 2023
All 12 advisories for github.com/kubernetes/kubernetes

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.