GitHub Advisoryadvisory · Go

GHSA-2394-5535-8j88 Kubernetes vulnerable to path traversal

MEDIUM Published 2023-03-01 Modified 2023-03-10 Official page ↗
Aliases
CVE-2022-3162
Ecosystem
Go
Packages
github.com/kubernetes/kubernetes
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-22, CWE-23
Reviewed
2023-03-10

Affected packages

• Go github.com/kubernetes/kubernetes: >= 1.25.0, < 1.25.4 → fixed in 1.25.4 • Go github.com/kubernetes/kubernetes: >= 1.24.0, < 1.24.8 → fixed in 1.24.8 • Go github.com/kubernetes/kubernetes: >= 1.23.0, < 1.23.14 → fixed in 1.23.14 • Go github.com/kubernetes/kubernetes: >= 1.22.0, < 1.22.16 → fixed in 1.22.16

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.

Related

Alias · CVE (1)

  • CVE-2022-3162 Users authorized to list or watch one type of namespaced custom resource cluster-wide can read custom resources of a different type in the… vulnerability

Weakness · CWE (2)

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

References