GitHub Advisory Database
GHSA-2394-5535-8j88
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/kubernetes/kubernetes | From 1.25.0 before 1.25.4 (fixed in 1.25.4) |
| Go | github.com/kubernetes/kubernetes | From 1.24.0 before 1.24.8 (fixed in 1.24.8) |
| Go | github.com/kubernetes/kubernetes | From 1.23.0 before 1.23.14 (fixed in 1.23.14) |
| Go | github.com/kubernetes/kubernetes | From 1.22.0 before 1.22.16 (fixed in 1.22.16) |