Vulnerability · Published Mar 1, 2023 · Assigned by kubernetes
CVE-2022-3162Unauthorized read of Custom Resources
Medium 6.5
In plain English
A medium-severity security flaw in Kubernetes from Kubernetes. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | kubernetes | 1.20.5+really1.20.2-1 | DEBIAN-CVE-2022-3162 |
| Debian:13 | kubernetes | 1.20.5+really1.20.2-1 | DEBIAN-CVE-2022-3162 |
| Debian:14 | kubernetes | 1.20.5+really1.20.2-1 | DEBIAN-CVE-2022-3162 |
| Go | github.com/kubernetes/kubernetes | 1.22.16 | GHSA-2394-5535-8j88 |
| Go | github.com/kubernetes/kubernetes | 1.25.4 | GHSA-2394-5535-8j88 |
| Go | github.com/kubernetes/kubernetes | 1.24.8 | GHSA-2394-5535-8j88 |
| Go | github.com/kubernetes/kubernetes | 1.23.14 | GHSA-2394-5535-8j88 |
| Go | k8s.io/kubernetes | 1.22.16, 1.23.14, 1.24.8, 1.25.4 | GO-2023-1628 |
| Ubuntu:22.04:LTS | kubernetes | no fix listed | UBUNTU-CVE-2022-3162 |
| Ubuntu:24.04:LTS | kubernetes | no fix listed | UBUNTU-CVE-2022-3162 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Kubernetes | Kubernetes | unspecified – through v1.25.3unspecified – through v1.24.7unspecified – through v1.23.13unspecified – through v1.22.15 |
Weakness: CWE-23 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N