Unauthorized read of Custom Resources
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 1 fixed, 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-23 and the CVSS impact.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Kubernetes | Kubernetes | up to v1.25.3; up to v1.24.7; up to v1.23.13; up to v1.22.15 | — | No fix listed | CNA |
| — | github.com/kubernetes/kubernetes (Go) | 1.25.0 to before 1.25.4 | 1.25.4 | Patch available | GHSA-2394-5535-8j88 |
| — | github.com/kubernetes/kubernetes (Go) | 1.24.0 to before 1.24.8 | 1.24.8 | Patch available | GHSA-2394-5535-8j88 |
| — | github.com/kubernetes/kubernetes (Go) | 1.23.0 to before 1.23.14 | 1.23.14 | Patch available | GHSA-2394-5535-8j88 |
| — | github.com/kubernetes/kubernetes (Go) | 1.22.0 to before 1.22.16 | 1.22.16 | Patch available | GHSA-2394-5535-8j88 |
- Kubernetes VendorKubernetes Affected up to v1.25.3; up to v1.24.7; up to v1.23.13; up to v1.22.15 Fixed in — No fix listed CNA
- github.com/kubernetes/kubernetes (Go) Vendor— Affected 1.25.0 to before 1.25.4 Fixed in 1.25.4 Patch available GHSA-2394-5535-8j88
- github.com/kubernetes/kubernetes (Go) Vendor— Affected 1.24.0 to before 1.24.8 Fixed in 1.24.8 Patch available GHSA-2394-5535-8j88
- github.com/kubernetes/kubernetes (Go) Vendor— Affected 1.23.0 to before 1.23.14 Fixed in 1.23.14 Patch available GHSA-2394-5535-8j88
- github.com/kubernetes/kubernetes (Go) Vendor— Affected 1.22.0 to before 1.22.16 Fixed in 1.22.16 Patch available GHSA-2394-5535-8j88
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* | up to 1.22.15; 1.23.0 – 1.23.13; 1.24.0 – 1.24.7; 1.25.0 – 1.25.3 | Vulnerable | Kubernetes |
- cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* Versions up to 1.22.15; 1.23.0 – 1.23.13; 1.24.0 – 1.24.7; 1.25.0 – 1.25.3 Vulnerable ·Kubernetes
Remediation
- Fix · GHSA-2394-5535-8j88 github.com/kubernetes/kubernetes (Go) Fixed in 1.25.4 Advisory →
- Fix · GHSA-2394-5535-8j88 github.com/kubernetes/kubernetes (Go) Fixed in 1.24.8 Advisory →
- Fix · GHSA-2394-5535-8j88 github.com/kubernetes/kubernetes (Go) Fixed in 1.23.14 Advisory →
- Fix · GHSA-2394-5535-8j88 github.com/kubernetes/kubernetes (Go) Fixed in 1.22.16 Advisory →
Red Hat 2 advisories
- RHSA-2023:0772 Released 2023-02-20 · Red Hat rating ModerateOpenShift Container Platform 4.12.4 security update
- Red Hat OpenShift Container Platform 4.12 microshift-4.12.4-202302151633.p0.gb9fe8ac.assembly.4.12.4.el8, microshift-networking-4.12.4-202302151633.p0.gb9fe8ac.assembly.4.12.4.el8, microshift-release-info-4.12.4-202302151633.p0.gb9fe8ac.assembly.4.12.4.el8 +1
- RHSA-2022:7398 Released 2023-01-17 · Red Hat rating ModerateOpenShift Container Platform 4.12.0 packages and security update
- Ironic content for Red Hat OpenShift Container Platform 4.12 crudini-0.9.3-4.el9, future-0.18.2-9.el9.1, openstack-ironic-1:21.0.1-0.20221114235951.fe64d5e.el9 +47
- Red Hat OpenShift Container Platform 4.12 NetworkManager-1:1.36.0-8.el8_6, NetworkManager-adsl-1:1.36.0-8.el8_6, NetworkManager-bluetooth-1:1.36.0-8.el8_6 +47
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift Container Platform 3.11 | Affected | No fix planned: Out of support scope |
| Red Hat OpenShift Container Platform 4 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Container Platform 4.12 | Fixed | RHSA-2022:7398, RHSA-2023:0772 |
Not affected: 2 products
- Ironic content for Red Hat OpenShift Container Platform 4.12
- Red Hat OpenShift Container Platform 4.12
Timeline
- 2026-10-02 Threatist record created from CVE-2022-3162
- 2026-10-03 Alias added: GHSA-2394-5535-8j88
References
Advisory 3
More Kubernetes vulnerabilities
- TI-2018-16130 Improper privilege management in Kubernetes CVSS 3.0CRITICAL 9.8
- TI-2019-08418 Kubernetes kubelet exposes /debug/pprof info on healthz port CVSS 3.1HIGH 8.2
- TI-2023-05086 Kubernetes - Windows nodes - Insufficient input sanitization in in-tree storage plugin leads to privilege escalation CVSS 3.1HIGH 8.8
- TI-2023-03433 Kubernetes - Windows nodes - Insufficient input sanitization leads to privilege escalation CVSS 3.1HIGH 8.8
- TI-2023-02285 Bypass of seccomp profile enforcement CVSS 3.1MEDIUM 5.5
- TI-2017-14755 Link following in Kubernetes CVSS 3.0CRITICAL 9.6
Sources
- CVE-2022-3162 · CVE Program
- CVE-2022-3162 · NVD
- FIRST EPSS
- GHSA-2394-5535-8j88 · GitHub Advisory Database · CC BY 4.0
- CVE-2022-3162 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences