6.5medium
Unauthorized read of Custom Resources
- Severity
- 6.5medium CVSS:3.1 by kubernetes
- Exploit likelihood
- 1.45% (higher than 74% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- kubernetes
- Also known as
- GHSA-2394-5535-8j88GO-2023-1628
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Kubernetes Kubernetes | from unspecified up to v1.25.3, from unspecified up to v1.24.7, from unspecified up to v1.23.13, from unspecified up to v1.22.15, up to 1.22.15, from 1.23.0 up to 1.23.13, from 1.24.0 up to 1.24.7, from 1.25.0 up to 1.25.3 | CVE List, NVD |
| github.com/kubernetes/kubernetes (Go) | from 1.25.0 before 1.25.4, from 1.24.0 before 1.24.8, from 1.23.0 before 1.23.14, from 1.22.0 before 1.22.16 | GitHub Advisory Database |
| k8s.io/kubernetes (Go) | from 1.22.0 before 1.22.16, from 1.23.0 before 1.23.14, from 1.24.0 before 1.24.8, from 1.25.0 before 1.25.4 | Go Vulnerability Database |
All scores
| kubernetes | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Classification
What each source says
CVE List
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.
Go Vulnerability Database
Kubernetes vulnerable to path traversal in k8s.io/kubernetes
References
| https://groups.google.com/g/kubernetes-security-announce/c/iUd550j7kjA | mailing-list, vendor-advisory, web | |
| https://github.com/kubernetes/kubernetes/issues/113756 | issue-tracking, vendor-advisory, web | |
| https://security.netapp.com/advisory/ntap-20230511-0004/ | ||
| https://nvd.nist.gov/vuln/detail/CVE-2022-3162 | advisory | |
| https://github.com/kubernetes/kubernetes | package | |
| https://security.netapp.com/advisory/ntap-20230511-0004 | web | |
| https://github.com/advisories/GHSA-2394-5535-8j88 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-3162 changed 2025-03-07 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2394-5535-8j88 changed 2024-08-20 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2023-1628 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2022-3162 changed 2026-06-17 | Public domain |