CVE-2022-3162

Unauthorized read of Custom Resources

State
Published
Severity
6.5 Medium
Published
Mar 1, 2023
Updated
Mar 7, 2025
Reserved
Sep 8, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:Nkubernetes

Weaknesses

  • CWE-23 Relative Path Traversal

Affected Products

ProductVersions
KubernetesKubernetes
  • v1.25.3 and earlierAffected
  • v1.24.7 and earlierAffected
  • v1.23.13 and earlierAffected
  • v1.22.15 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.