medium6.5
CVE-2022-3162
Kubernetes vulnerable to path traversal
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/kubernetes/kubernetes | >= 1.25.0, < 1.25.3 | 1.25.4 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Kubernetes | Kubernetes | through 1.22.15 from 1.23.0 through 1.23.13 from 1.24.0 through 1.24.7 from 1.25.0 through 1.25.3 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/kubernetes/kubernetes/issues/113756
- https://groups.google.com/g/kubernetes-security-announce/c/iUd550j7kjA
- https://security.netapp.com/advisory/ntap-20230511-0004/
- https://github.com/advisories/GHSA-2394-5535-8j88
- https://nvd.nist.gov/vuln/detail/CVE-2022-3162