{"id":"CVE-2022-3162","aliases":["CVE-2022-3162","GHSA-2394-5535-8j88","GO-2023-1628"],"related":[],"kind":"vulnerability","state":"published","title":"Unauthorized read of Custom Resources","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"Kubernetes vulnerable to path traversal in k8s.io/kubernetes","format":"markdown","source":"go"}],"published":"2023-03-01T00:00:00.000Z","modified":"2026-06-17T04:58:59.300Z","severity":{"scorer":"kubernetes","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"kubernetes","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-22","CWE-23"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"v1.25.3","status":"affected"},{"type":"custom","introduced":"unspecified","lastAffected":"v1.24.7","status":"affected"},{"type":"custom","introduced":"unspecified","lastAffected":"v1.23.13","status":"affected"},{"type":"custom","introduced":"unspecified","lastAffected":"v1.22.15","status":"affected"}],"vendor":"Kubernetes","product":"Kubernetes","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.25.0","status":"affected","fixed":"1.25.4"}],"ecosystem":"Go","package":"github.com/kubernetes/kubernetes","purl":"pkg:golang/github.com/kubernetes/kubernetes","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.24.0","status":"affected","fixed":"1.24.8"}],"ecosystem":"Go","package":"github.com/kubernetes/kubernetes","purl":"pkg:golang/github.com/kubernetes/kubernetes","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.23.0","status":"affected","fixed":"1.23.14"}],"ecosystem":"Go","package":"github.com/kubernetes/kubernetes","purl":"pkg:golang/github.com/kubernetes/kubernetes","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.22.0","status":"affected","fixed":"1.22.16"}],"ecosystem":"Go","package":"github.com/kubernetes/kubernetes","purl":"pkg:golang/github.com/kubernetes/kubernetes","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.22.0","status":"affected","fixed":"1.22.16"},{"type":"semver","introduced":"1.23.0","status":"affected","fixed":"1.23.14"},{"type":"semver","introduced":"1.24.0","status":"affected","fixed":"1.24.8"},{"type":"semver","introduced":"1.25.0","status":"affected","fixed":"1.25.4"}],"ecosystem":"Go","package":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","source":"go"},{"ranges":[{"status":"affected","lastAffected":"1.22.15"},{"status":"affected","introduced":"1.23.0","lastAffected":"1.23.13"},{"status":"affected","introduced":"1.24.0","lastAffected":"1.24.7"},{"status":"affected","introduced":"1.25.0","lastAffected":"1.25.3"}],"vendor":"kubernetes","product":"kubernetes","cpe":"cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://groups.google.com/g/kubernetes-security-announce/c/iUd550j7kjA","tags":["mailing-list","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/kubernetes/kubernetes/issues/113756","tags":["issue-tracking","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20230511-0004/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3162","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/kubernetes/kubernetes","tags":["package"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20230511-0004","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-2394-5535-8j88","tags":["advisory"],"sources":["go"]}],"credits":["Richard Turnbull of NCC Group"],"assigner":"kubernetes","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-03-07T18:34:51.328Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-3162","url":"https://www.cve.org/CVERecord?id=CVE-2022-3162","licence":"CVE Terms of Use","modified":"2025-03-07T18:35:03.127Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2394-5535-8j88","url":"https://github.com/advisories/GHSA-2394-5535-8j88","licence":"CC-BY-4.0","modified":"2024-08-20T20:58:46.969Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2023-1628","url":"https://pkg.go.dev/vuln/GO-2023-1628","licence":"CC-BY-4.0","modified":"2026-03-03T04:53:27.508Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-3162","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3162","licence":"Public domain","modified":"2026-06-17T04:58:59.300Z"}],"updatedAt":"2026-11-25T22:58:18.778Z","epss":{"score":0.01446,"percentile":0.74061,"date":"2026-12-01T12:00:22.000Z"}}