{"id":"UBUNTU-CVE-2022-3162","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.","modified":"2025-07-14T07:01:09.354214Z","published":"2023-03-01T19:15:00Z","withdrawn":"2025-08-28T17:02:32Z","upstream":["CVE-2022-3162"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-3162"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-3162"}],"affected":[{"package":{"name":"kubernetes","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/kubernetes@1.0?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0"],"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-3162.json"}},{"package":{"name":"kubernetes","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/kubernetes@1.0?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0"],"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-3162.json"}},{"package":{"name":"kubernetes","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/kubernetes@1.0?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0"],"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-3162.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}