CVE-2022-3162Kubernetes
Medium 6.5
Follow: this CVE · Kubernetes · Kubernetes We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 72
- Auth required
- Yes
- Published
- Mar 1, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Kubernetes.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/kubernetes/kubernetes |
≥ 1.25.0 < 1.25.4 |
1.25.4 |
go get github.com/kubernetes/kubernetes@v1.25.4 |
| Go | github.com/kubernetes/kubernetes |
≥ 1.24.0 < 1.24.8 |
1.24.8 |
go get github.com/kubernetes/kubernetes@v1.24.8 |
| Go | github.com/kubernetes/kubernetes |
≥ 1.23.0 < 1.23.14 |
1.23.14 |
go get github.com/kubernetes/kubernetes@v1.23.14 |
| Go | github.com/kubernetes/kubernetes |
≥ 1.22.0 < 1.22.16 |
1.22.16 |
go get github.com/kubernetes/kubernetes@v1.22.16 |
| Go | k8s.io/kubernetes |
≥ 1.22.0 < 1.22.16 |
1.22.16 |
go get k8s.io/kubernetes@v1.22.16 |
| Go | k8s.io/kubernetes |
≥ 1.23.0 < 1.23.14 |
1.23.14 |
go get k8s.io/kubernetes@v1.23.14 |
| Go | k8s.io/kubernetes |
≥ 1.24.0 < 1.24.8 |
1.24.8 |
go get k8s.io/kubernetes@v1.24.8 |
| Go | k8s.io/kubernetes |
≥ 1.25.0 < 1.25.4 |
1.25.4 |
go get k8s.io/kubernetes@v1.25.4 |
Per OSV / GitHub Advisories (GHSA-2394-5535-8j88, GO-2023-1628). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| kubernetes | kubernetes | ≤ 1.22.15 |
| kubernetes | kubernetes | ≥ 1.23.0 ≤ 1.23.13 |
| kubernetes | kubernetes | ≥ 1.24.0 ≤ 1.24.7 |
| kubernetes | kubernetes | ≥ 1.25.0 ≤ 1.25.3 |
Official advisories
- Red Hat Security Advisory: OpenShift Container Platform 4.12.0 packages and security update · Red Hat · RHSA-2022:7398 · Sep 30, 2024 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Vendor Advisory
- groups.google.com Mailing List Vendor Advisory
- security.netapp.com