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.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)1.4%top 26.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12kubernetes1.20.5+really1.20.2-1DEBIAN-CVE-2022-3162
Debian:13kubernetes1.20.5+really1.20.2-1DEBIAN-CVE-2022-3162
Debian:14kubernetes1.20.5+really1.20.2-1DEBIAN-CVE-2022-3162
Gogithub.com/kubernetes/kubernetes1.22.16GHSA-2394-5535-8j88
Gogithub.com/kubernetes/kubernetes1.25.4GHSA-2394-5535-8j88
Gogithub.com/kubernetes/kubernetes1.24.8GHSA-2394-5535-8j88
Gogithub.com/kubernetes/kubernetes1.23.14GHSA-2394-5535-8j88
Gok8s.io/kubernetes1.22.16, 1.23.14, 1.24.8, 1.25.4GO-2023-1628
Ubuntu:22.04:LTSkubernetesno fix listedUBUNTU-CVE-2022-3162
Ubuntu:24.04:LTSkubernetesno fix listedUBUNTU-CVE-2022-3162

Affected products (as reported)

VendorProductVersions
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

References