Advisory

GHSA-2394-5535-8j88

Also known as: CVE-2022-3162, GO-2023-1628

Summary

Kubernetes vulnerable to path traversal

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-03-01 21:30 UTC
Modified
2024-08-20 20:58 UTC

Affected packages and fixes

github.com/kubernetes/kubernetes

Go · All systems

Affected

  • introduced 1.25.0, fixed 1.25.4 (semver)

Fixed versions

1.25.4

Fix

github.com/kubernetes/kubernetes

Go · All systems

Affected

  • introduced 1.24.0, fixed 1.24.8 (semver)

Fixed versions

1.24.8

Fix

github.com/kubernetes/kubernetes

Go · All systems

Affected

  • introduced 1.23.0, fixed 1.23.14 (semver)

Fixed versions

1.23.14

Fix

github.com/kubernetes/kubernetes

Go · All systems

Affected

  • introduced 1.22.0, fixed 1.22.16 (semver)

Fixed versions

1.22.16

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences