Live threats

All CVEs / Kubernetes

CVE-2022-3162Kubernetes

Medium 6.5

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
Weakness (CWE)
CWE-23, CWE-22
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Kubernetes.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
kuberneteskubernetes≤ 1.22.15
kuberneteskubernetes≥ 1.23.0 ≤ 1.23.13
kuberneteskubernetes≥ 1.24.0 ≤ 1.24.7
kuberneteskubernetes≥ 1.25.0 ≤ 1.25.3

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.