CVEvulnerability

CVE-2022-3162

6.5 MEDIUM Published 2023-03-01 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2023-03-01
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS 3.1 ([email protected])
6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-22, CWE-23

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.

Affected configurations

• 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)

Related

Weakness · CWE (2)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
  • CWE-23 Relative Path Traversal weakness

References