CVE-2022-3162
MEDIUM 6.5CVSS 3.1Kubernetes vulnerable to path traversal
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.
- Published
- 1 Mar 2023
- Last modified
- 17 Jun 2026
- Assigned by
- jordan@liggitt.net
- NVD status
- Modified
- Weakness
- CWE-22CWE-23
- Also known as
- GHSA-2394-5535-8j88GO-2023-1628
- Sources
- NVDJSONOSV GHSA-2394-5535-8j88JSONOSV GO-2023-1628JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | jordan@liggitt.net (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | kubernetes | kubernetescpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* |
<= 1.22.15 | |
| NVD | kubernetes | kubernetescpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* |
>= 1.23.0, <= 1.23.13 | |
| NVD | kubernetes | kubernetescpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* |
>= 1.24.0, <= 1.24.7 | |
| NVD | kubernetes | kubernetescpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* |
>= 1.25.0, <= 1.25.3 | |
| OSV | Go | github.com/kubernetes/kubernetes | >= 1.25.0, < 1.25.4 | 1.25.4 |
| OSV | Go | github.com/kubernetes/kubernetes | >= 1.24.0, < 1.24.8 | 1.24.8 |
| OSV | Go | github.com/kubernetes/kubernetes | >= 1.23.0, < 1.23.14 | 1.23.14 |
| OSV | Go | github.com/kubernetes/kubernetes | >= 1.22.0, < 1.22.16 | 1.22.16 |
| OSV | Go | k8s.io/kubernetes | >= 1.22.0, < 1.22.16; >= 1.23.0, < 1.23.14; >= 1.24.0, < 1.24.8; >= 1.25.0, < 1.25.4 | 1.22.16, 1.23.14, 1.24.8, 1.25.4 |
References
- https://github.com/kubernetes/kubernetes/issues/113756 · Issue Tracking, Vendor Advisory, WEB
- https://groups.google.com/g/kubernetes-security-announce/c/iUd550j7kjA · Mailing List, Vendor Advisory, WEB
- https://security.netapp.com/advisory/ntap-20230511-0004/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-3162 · ADVISORY
- https://github.com/kubernetes/kubernetes · PACKAGE
- https://github.com/advisories/GHSA-2394-5535-8j88 · ADVISORY
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 1 Mar 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 Mar 2023)