{"schema_version":"1.9.0","id":"GHSA-2394-5535-8j88","published":"2023-03-01T21:30:18Z","modified":"2024-08-20T20:58:46.969828Z","aliases":["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.","affected":[{"package":{"name":"github.com/kubernetes/kubernetes","ecosystem":"Go","purl":"pkg:golang/github.com/kubernetes/kubernetes"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.25.0"},{"fixed":"1.25.4"}]}],"database_specific":{"last_known_affected_version_range":"< 1.25.3","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-2394-5535-8j88/GHSA-2394-5535-8j88.json"}},{"package":{"name":"github.com/kubernetes/kubernetes","ecosystem":"Go","purl":"pkg:golang/github.com/kubernetes/kubernetes"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.24.0"},{"fixed":"1.24.8"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-2394-5535-8j88/GHSA-2394-5535-8j88.json"}},{"package":{"name":"github.com/kubernetes/kubernetes","ecosystem":"Go","purl":"pkg:golang/github.com/kubernetes/kubernetes"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.23.0"},{"fixed":"1.23.14"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-2394-5535-8j88/GHSA-2394-5535-8j88.json"}},{"package":{"name":"github.com/kubernetes/kubernetes","ecosystem":"Go","purl":"pkg:golang/github.com/kubernetes/kubernetes"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.22.0"},{"fixed":"1.22.16"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-2394-5535-8j88/GHSA-2394-5535-8j88.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3162"},{"type":"WEB","url":"https://github.com/kubernetes/kubernetes/issues/113756"},{"type":"PACKAGE","url":"https://github.com/kubernetes/kubernetes"},{"type":"WEB","url":"https://groups.google.com/g/kubernetes-security-announce/c/iUd550j7kjA"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20230511-0004"}],"database_specific":{"cwe_ids":["CWE-22","CWE-23"],"github_reviewed":true,"github_reviewed_at":"2023-03-10T22:38:21Z","nvd_published_at":"2023-03-01T19:15:00Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}