Skip to content

CVE-2022-3162 Unauthorized read of Custom Resources

MediumCVSS 6.5 EPSS 1.4%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
KubernetesUbuntuDebian

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.

Upgrade path

8 packages: 5 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/kubernetes(Ubuntu 22.04) = 1.0; All versions No fix listed No fix yet
ubuntu/kubernetes(Ubuntu 24.04) = 1.0; All versions No fix listed No fix yet
ubuntu/kubernetes(Ubuntu Pro 20.04) = 1.0; All versions No fix listed No fix yet
debian/kubernetes(Debian 12) < 1.20.5+really1.20.2-1 1.20.5+really1.20.2-1 Fixed
debian/kubernetes(Debian 13) < 1.20.5+really1.20.2-1 1.20.5+really1.20.2-1 Fixed
debian/kubernetes(Debian 14) < 1.20.5+really1.20.2-1 1.20.5+really1.20.2-1 Fixed
Kubernetes <= 1.22.15; <= v1.22.15; <= v1.23.13; <= v1.24.7 +4 more after 1.22.15, 1.23.13, 1.24.7, 1.25.3, v1.22.15, v1.23.13, v1.24.7, v1.25.3 Fixed
Kubernetes(Go) >= 1.22.0, < 1.22.16; >= 1.23.0, < 1.23.14; >= 1.24.0, < 1.24.8; >= 1.25.0, < 1.25.3 +1 more 1.22.16, 1.23.14, 1.24.8, 1.25.3, 1.25.4 Fixed

Affected products

ProductAffected versionsFixed in
Kubernetes(Go) >= 1.25.0, < 1.25.3 1.25.3
Kubernetes(Go) >= 1.24.0, < 1.24.8 1.24.8
Kubernetes(Go) >= 1.23.0, < 1.23.14 1.23.14
Kubernetes(Go) >= 1.22.0, < 1.22.16 1.22.16
Kubernetes(Go) >= 1.25.0, < 1.25.4 1.25.4
Kubernetes <= v1.25.3 No fix listed
Kubernetes <= v1.24.7 No fix listed
Kubernetes <= v1.23.13 No fix listed
Kubernetes <= v1.22.15 No fix listed
Kubernetes <= 1.22.15 No fix listed
Kubernetes >= 1.23.0, <= 1.23.13 No fix listed
Kubernetes >= 1.24.0, <= 1.24.7 No fix listed
Kubernetes >= 1.25.0, <= 1.25.3 No fix listed
debian/kubernetes(Debian:12) < 1.20.5+really1.20.2-1 1.20.5+really1.20.2-1
debian/kubernetes(Debian:14) < 1.20.5+really1.20.2-1 1.20.5+really1.20.2-1
debian/kubernetes(Debian:13) < 1.20.5+really1.20.2-1 1.20.5+really1.20.2-1
ubuntu/kubernetes(Ubuntu:Pro:20.04) All versions No fix listed
ubuntu/kubernetes(Ubuntu:Pro:20.04) = 1.0 No fix listed
ubuntu/kubernetes(Ubuntu:22.04) All versions No fix listed
ubuntu/kubernetes(Ubuntu:22.04) = 1.0 No fix listed
ubuntu/kubernetes(Ubuntu:24.04) All versions No fix listed
ubuntu/kubernetes(Ubuntu:24.04) = 1.0 No fix listed

References