{"id":"CVE-2022-3162","published":"2023-03-01T00:00:00Z","modified":"2025-03-07T18:35:03Z","title":"Unauthorized read of Custom Resources","vendor":"Kubernetes","product":"Kubernetes","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01367,"percentile":0.71972,"provenance":"source"},"cwes":[{"id":"CWE-23","name":"Relative Path Traversal"}],"references":[{"url":"https://groups.google.com/g/kubernetes-security-announce/c/iUd550j7kjA","tags":[]},{"url":"https://github.com/kubernetes/kubernetes/issues/113756","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20230511-0004/","tags":[]}],"priority":{"score":18.9,"factors":[{"name":"EPSS percentile","points":14.39},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"kubernetes","affectedVersions":[{"vendor":"Kubernetes","product":"Kubernetes","versions":[">= unspecified, <= v1.25.3",">= unspecified, <= v1.24.7",">= unspecified, <= v1.23.13",">= unspecified, <= v1.22.15"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-07T18:34:51.328440Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/kubernetes/kubernetes","vulnerableRanges":[">=1.25.0, <1.25.4",">=1.24.0, <1.24.8",">=1.23.0, <1.23.14",">=1.22.0, <1.22.16"],"patched":["1.25.4","1.24.8","1.23.14","1.22.16"],"from":["GHSA-2394-5535-8j88"],"provenance":"source"},{"ecosystem":"Go","package":"k8s.io/kubernetes","vulnerableRanges":[">=1.22.0, <1.22.16",">=1.23.0, <1.23.14",">=1.24.0, <1.24.8",">=1.25.0, <1.25.4"],"patched":["1.22.16","1.23.14","1.24.8","1.25.4"],"from":["GO-2023-1628"],"provenance":"source"}],"summary":{"text":"The flaw is in Kubernetes, in its custom resource handling, where a user authorized to list or watch one namespaced custom resource type cluster-wide can read a different custom resource type in the same API group without being authorized for it. An attacker needs only network access and low-privilege authenticated access, specifically cluster-wide list or watch rights on one custom resource type, with no user interaction, and the cluster must have two or more CustomResourceDefinitions sharing the same API group while that user lacks read access to the other type.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:37Z"},"euvd":{"id":"EUVD-2023-0823","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-25736","published":"2023-10-30","fixed":"1.21.0","kev":false},{"cve":"CVE-2021-25737","published":"2021-09-06","fixed":"1.21.1","kev":false},{"cve":"CVE-2021-25741","published":"2021-09-20","fixed":"1.22.2","kev":false,"link":{"from":"CVE-2021-25741","to":"CVE-2022-3162","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:k8s.io/kubernetes","fromFixed":"1.22.2","toFixed":"1.22.16","daysApart":527}]}},{"cve":"CVE-2022-3162","published":"2023-03-01","fixed":"1.25.4","kev":false},{"cve":"CVE-2022-3294","published":"2023-03-01","fixed":"1.25.4","kev":false},{"cve":"CVE-2021-25743","published":"2022-01-07","fixed":"1.26.0-alpha.3","kev":false},{"cve":"CVE-2024-0793","published":"2024-11-17","fixed":"1.27.0-alpha.1","kev":false},{"cve":"CVE-2023-2431","published":"2023-06-16","fixed":"1.27.2","kev":false,"link":{"from":"CVE-2022-3162","to":"CVE-2023-2431","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:k8s.io/kubernetes","fromFixed":"1.24.8","toFixed":"1.24.14","daysApart":107}]}}],"package":"Go:k8s.io/kubernetes"}}