CVE-2022-3162
published 2023-03-01CVE-2022-3162: 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…
PriorityP336medium6.5CVSS 3.1
AVNACLPRLUINSUCHINAN
EPSS
1.19%
64.1th percentile
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
20 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | kubernetes | < kubernetes 1.20.5+really1.20.2-1 (bookworm) | kubernetes 1.20.5+really1.20.2-1 (bookworm) |
| github.com | kubernetes_kubernetes | >= 1.22.0 < 1.22.16 | 1.22.16 |
| github.com | kubernetes_kubernetes | >= 1.23.0 < 1.23.14 | 1.23.14 |
| github.com | kubernetes_kubernetes | >= 1.24.0 < 1.24.8 | 1.24.8 |
| github.com | kubernetes_kubernetes | >= 1.25.0 < 1.25.4 | 1.25.4 |
| k8s.io | kubernetes | >= 1.22.0 < 1.22.16 | 1.22.16 |
| k8s.io | kubernetes | >= 1.23.0 < 1.23.14 | 1.23.14 |
| k8s.io | kubernetes | >= 1.24.0 < 1.24.8 | 1.24.8 |
| k8s.io | kubernetes | >= 1.25.0 < 1.25.4 | 1.25.4 |
| kubernetes | kubernetes | <= 1.22.15 | — |
| kubernetes | kubernetes | >= 0 < 1.20.5+really1.20.2-1 | 1.20.5+really1.20.2-1 |
| kubernetes | kubernetes | >= 0 < 1.20.5+really1.20.2-1 | 1.20.5+really1.20.2-1 |
| kubernetes | kubernetes | >= 0 < 1.20.5+really1.20.2-1 | 1.20.5+really1.20.2-1 |
| kubernetes | kubernetes | >= 0 < 1.20.5+really1.20.2-1 | 1.20.5+really1.20.2-1 |
| kubernetes | kubernetes | 1.23.0 – 1.23.13 | — |
| kubernetes | kubernetes | 1.24.0 – 1.24.7 | — |
| kubernetes | kubernetes | 1.25.0 – 1.25.3 | — |
| kubernetes | kubernetes | unspecified – v1.25.3 | — |
| msrc | azl3_keda_2.14.0-1_on_azure_linux_3.0 | — | — |
| msrc | azl3_keda_2.4.0-15_on_azure_linux_3.0 | — | — |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
osv6.5MEDIUM
vendor_debian6.5MEDIUM
vendor_msrc6.5MEDIUM
vendor_redhat6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Kubernetes vulnerable to path traversal in k8s.io/kubernetes
osv·2024-08-20
CVE-2022-3162 Kubernetes vulnerable to path traversal in k8s.io/kubernetes
Kubernetes vulnerable to path traversal in k8s.io/kubernetes
Kubernetes vulnerable to path traversal in k8s.io/kubernetes
OSV
Kubernetes vulnerable to path traversal
osv·2023-03-01
CVE-2022-3162 [MEDIUM] Kubernetes vulnerable to path traversal
Kubernetes 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.
OSV
CVE-2022-3162: 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 gr
osv·2023-03-01·CVSS 6.5
CVE-2022-3162 [MEDIUM] CVE-2022-3162: 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 gr
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.
GHSA
Kubernetes vulnerable to path traversal
ghsa·2023-03-01
CVE-2022-3162 [MEDIUM] CWE-22 Kubernetes vulnerable to path traversal
Kubernetes 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.
Microsoft
Unauthorized read of Custom Resources
vendor_msrc·2023-03-14·CVSS 6.5
CVE-2022-3162 [MEDIUM] CWE-22 Unauthorized read of Custom Resources
Unauthorized read of Custom Resources
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
kubernetes: kubernetes
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://learn.microso
Red Hat
kubernetes: Unauthorized read of Custom Resources
vendor_redhat·2022-11-10·CVSS 6.5
CVE-2022-3162 [MEDIUM] kubernetes: Unauthorized read of Custom Resources
kubernetes: Unauthorized read of Custom Resources
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.
A flaw was found in kubernetes. Users authorized to list or watch one type of namespaced custom resource cluster-wide can read custom resources of a different kind in the same API group they are not authorized to read.
Package: atomic-openshi
Debian
CVE-2022-3162: kubernetes - Users authorized to list or watch one type of namespaced custom resource cluster...
vendor_debian·2022·CVSS 6.5
CVE-2022-3162 [MEDIUM] CVE-2022-3162: kubernetes - Users authorized to list or watch one type of namespaced custom resource cluster...
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.
Scope: local
bookworm: resolved (fixed in 1.20.5+really1.20.2-1)
bullseye: resolved (fixed in 1.20.5+really1.20.2-1)
forky: resolved (fixed in 1.20.5+really1.20.2-1)
sid: resolved (fixed in 1.20.5+really1.20.2-1)
trixie: resolved (fixed in 1.20.5+really1.20.2-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/kubernetes/kubernetes/issues/113756https://groups.google.com/g/kubernetes-security-announce/c/iUd550j7kjAhttps://security.netapp.com/advisory/ntap-20230511-0004/https://github.com/kubernetes/kubernetes/issues/113756https://groups.google.com/g/kubernetes-security-announce/c/iUd550j7kjAhttps://security.netapp.com/advisory/ntap-20230511-0004/
2023-03-01
Published