CVE-2022-3162 json
Unauthorized read of Custom Resources
published 2023-03-01 3 y ago modified 2026-06-17 4 mo ago also GHSA-2394-5535-8j88 , GO-2023-1628 , EUVD-2023-0823
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 73%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/kubernetes/kubernetes 1.22.16, 1.23.14, 1.24.8, 1.25.4
- go k8s.io/kubernetes 1.22.16, 1.23.14, 1.24.8, 1.25.4
- kubernetes Debian 14, Debian 13, Debian 12 1.20.5+really1.20.2-1
debian advisories DEBIAN-CVE-2022-3162
- tox openshift ironic 4.12 3.23.0-2.el9.1
- crit openshift 4.12 3.15-4.rhaos4.11.el8
- criu openshift 4.12 3.15-4.rhaos4.11.el8
- crun openshift 4.12 1.4.2-1.rhaos4.11.el8
- crun openshift 4.12 1.4.2-2.rhaos4.12.el9
- grpc openshift 4.12 1.18.0-4.el8ost
- runc openshift 4.12 3:1.1.2-2.rhaos4.12.el8
- tini openshift 4.12 0.16.1-1.el8ar
red hat advisories RHSA-2022:7398RHSA-2023:0772
- kubernetes1.23 SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Module for Containers 15 SP4 +3 more 1.23.17-150300.7.6.1
suse advisories SUSE-SU-2023:2292-1
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20250807T150727-1.1
- kubernetes1.25 openSUSE Tumbleweed 1.25.7-1.1
opensuse advisories openSUSE-SU-2025:15424-1openSUSE-SU-2024:12810-1
- cert-manager CBL-Mariner 2.0 1.11.2-1
- keda CBL-Mariner 2.0 2.4.0-29
- kube-vip-cloud-provider CBL-Mariner 2.0 0.0.2-21
- rook CBL-Mariner 2.0 1.6.2-25
- prometheus-adapter CBL-Mariner 2.0 0.10.0-17
- kubernetes CBL-Mariner 2.0 1.25.4-0
- keda Azure Linux 3.0 2.14.0-1
azure linux advisories AZL-13780AZL-13781AZL-13782AZL-13783AZL-25938AZL-31287
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-3162 updated cvss 6.5
kubernetes: Unauthorized read of Custom Resources
-
Red Hat OpenShift Container Platform 3.11 atomic-openshift, atomic-openshift-pod, atomic-openshift-node, atomic-openshift-tests, atomic-openshift-master, atomic-openshift-clients, +7 moreaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Container Platform 4 openshift4/ose-testsaffected: no fix planned “Will not fix”
-
Red Hat OpenShift Container Platform 4.12 openshift 4.12.0-202301042257.p0.g77bec7a.assembly.stream.el8, openshift 4.12.0-202301042257.p0.g77bec7a.assembly.stream.el9, microshift 4.12.4-202302151633.p0.gb9fe8ac.assembly.4.12.4.el8, microshift-selinux 4.12.4-202302151633.p0.gb9fe8ac.assembly.4.12.4.el8, openshift-hyperkube 4.12.0-202301042257.p0.g77bec7a.assembly.stream.el8, openshift-hyperkube 4.12.0-202301042257.p0.g77bec7a.assembly.stream.el9, +2 morefixed: vendor fix RHSA-2023:0772
-
Red Hat Ironic content for Red Hat OpenShift Container Platform 4.12 tox 3.23.0-2.el9.1, crudini 0.9.3-4.el9, pysnmp 4.4.12-6.el9, future 0.18.2-9.el9.1, subunit 1.4.0-6.el9.1, pyflakes 2.2.0-3.el9.1, +451 more Red Hat OpenShift Container Platform 4.12 nmstate 1.3.3-1.el8, ostree 2022.2-5.el8, tini 0.16.1-1.el8ar, buildah 1.23.4-2.el8, grpc 1.18.0-4.el8ost, haproxy 2.2.24-1.el8, +234 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 20 mo ago
Exploit prediction
1.45% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/kubernetes/kubernetes | >=1.25.0, <1.25.4 >=1.24.0, <1.24.8 >=1.23.0, <1.23.14 >=1.22.0, <1.22.16 |
1.25.4 1.24.8 1.23.14 1.22.16 |
| go | k8s.io/kubernetes | >=1.22.0, <1.22.16 >=1.23.0, <1.23.14 >=1.24.0, <1.24.8 >=1.25.0, <1.25.4 |
1.22.16 1.23.14 1.24.8 1.25.4 |
Affected products
- Kubernetes Kubernetes
Classification
- Weakness
- Technology feeds
References
-
groups.google.com
/g/kubernetes-security-announce/c/iUd550j7kjA
web, mailing-list, vendor-advisory
-
github.com
/kubernetes/kubernetes/issues/113756
web, issue-tracking, vendor-advisory
- security.netapp.com /advisory/ntap-20230511-0004/
-
nvd.nist.gov
/vuln/detail/CVE-2022-3162
advisory
-
github.com
/kubernetes/kubernetes
package
-
security.netapp.com
/advisory/ntap-20230511-0004
web
-
github.com
/advisories/GHSA-2394-5535-8j88
advisory
Sources
- CVE List CVE-2022-3162
- GitHub Advisory GHSA-2394-5535-8j88
- NVD CVE-2022-3162
- OSV GO-2023-1628
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.