MediumGHSA-2394-5535-8j88CVE-2022-3162GO-2023-1628

Kubernetes vulnerable to path traversal

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 authorized to list or watch one type of namespaced custom resource cluster-wide can read custom resources of a different type in the same API group without authorization. Clusters are impacted by this vulnerability if all of the following are true: 1. There are 2+ CustomResourceDefinitions sharing the same API group 2. Users have cluster-wide list or watch authorization on one of those custom resources. 3. The same users are not authorized to read another custom resource in the same API group.

Is GHSA-2394-5535-8j88 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
  • HighCVE-2022-3294Kubernetes vulnerable to validation bypass · 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.