VYPR
Moderate severityNVD Advisory· Published Mar 1, 2023· Updated Mar 7, 2025

Unauthorized read of Custom Resources

CVE-2022-3162

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 packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
github.com/kubernetes/kubernetesGo
>= 1.25.0, < 1.25.41.25.4
github.com/kubernetes/kubernetesGo
>= 1.24.0, < 1.24.81.24.8
github.com/kubernetes/kubernetesGo
>= 1.23.0, < 1.23.141.23.14
github.com/kubernetes/kubernetesGo
>= 1.22.0, < 1.22.161.22.16

Affected products

1

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

6

News mentions

0

No linked articles in our index yet.