{"schemaVersion":3,"id":"CVE-2022-3162","aliases":["RHSA-2023:0772","UBUNTU-CVE-2022-3162","DEBIAN-CVE-2022-3162","GHSA-2394-5535-8j88","GO-2023-1628"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2023-03-01T00:00:00.000Z","modified":"2025-03-07T18:35:03.127Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Red hat","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01191,"percentile":0.67551,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01191},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01191,"percentile":0.67551}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01191,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01191,"percentile":0.67551}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-23","name":"Relative Path Traversal","description":"The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as \"..\" that can resolve to a location that is outside of that directory.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/23.html"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"debian","product":"kubernetes","name":"kubernetes","label":"kubernetes","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/kubernetes","purlType":"deb","versions":[{"text":"< 1.20.5+really1.20.2-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.20.5+really1.20.2-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"kubernetes","name":"kubernetes","label":"kubernetes","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/kubernetes","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/kubernetes","product":"kubernetes","name":"github.com/kubernetes/kubernetes","label":"kubernetes","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/kubernetes/kubernetes","purlType":"golang","versions":[{"text":"≥ 1.25.0, < 1.25.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.24.0, < 1.24.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.23.0, < 1.23.14","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.22.0, < 1.22.16","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.25.0, < 1.25.4 | ≥ 1.24.0, < 1.24.8 | ≥ 1.23.0, < 1.23.14 | ≥ 1.22.0, < 1.22.16","eol":null,"hubHref":null},{"vendor":"k8s.io","product":"kubernetes","name":"k8s.io/kubernetes","label":"kubernetes","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/k8s.io/kubernetes","purlType":"golang","versions":[{"text":"≥ 1.25.0, < 1.25.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.25.0, < 1.25.4","eol":null,"hubHref":null},{"vendor":"kubernetes","product":"kubernetes","name":"kubernetes","label":"kubernetes","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, ≤ v1.25.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ unspecified, ≤ v1.24.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ unspecified, ≤ v1.23.13","noFixRecorded":false,"fixedIn":null},{"text":"≥ unspecified, ≤ v1.22.15","noFixRecorded":false,"fixedIn":null},{"text":"≤ 1.22.15","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.23.0, ≤ 1.23.13","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.24.0, ≤ 1.24.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.25.0, ≤ 1.25.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, ≤ v1.25.3 | ≥ unspecified, ≤ v1.24.7 | ≥ unspecified, ≤ v1.23.13 | ≥ unspecified, ≤ v1.22.15 | ≤ 1.22.15 | ≥ 1.23.0, ≤ 1.23.13 | ≥ 1.24.0, ≤ 1.24.7 | ≥ 1.25.0, ≤ 1.25.3","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"kubernetes","label":"Kubernetes","category":"server-app"}},"hubHref":"/vendor/kubernetes/kubernetes"},{"vendor":"redhat","product":"microshift","name":"microshift","label":"microshift","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/microshift","purlType":"rpm","versions":[{"text":"< 0:4.12.4-202302151633.p0.gb9fe8ac.assembly.4.12.4.el8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:4.12.4-202302151633.p0.gb9fe8ac.assembly.4.12.4.el8","eol":null,"hubHref":null},{"vendor":"redhat","product":"microshift-networking","name":"microshift-networking","label":"microshift-networking","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/microshift-networking","purlType":"rpm","versions":[{"text":"< 0:4.12.4-202302151633.p0.gb9fe8ac.assembly.4.12.4.el8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:4.12.4-202302151633.p0.gb9fe8ac.assembly.4.12.4.el8","eol":null,"hubHref":null},{"vendor":"redhat","product":"microshift-release-info","name":"microshift-release-info","label":"microshift-release-info","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/microshift-release-info","purlType":"rpm","versions":[{"text":"< 0:4.12.4-202302151633.p0.gb9fe8ac.assembly.4.12.4.el8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:4.12.4-202302151633.p0.gb9fe8ac.assembly.4.12.4.el8","eol":null,"hubHref":null},{"vendor":"redhat","product":"microshift-selinux","name":"microshift-selinux","label":"microshift-selinux","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/microshift-selinux","purlType":"rpm","versions":[{"text":"< 0:4.12.4-202302151633.p0.gb9fe8ac.assembly.4.12.4.el8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:4.12.4-202302151633.p0.gb9fe8ac.assembly.4.12.4.el8","eol":null,"hubHref":null}],"affectedCount":9,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://groups.google.com/g/kubernetes-security-announce/c/iUd550j7kjA","label":"groups.google.com/g/kubernetes-security-announce/c/iUd550j7kjA","hostname":"groups.google.com","tags":["WEB","Mailing List","Vendor Advisory"]},{"url":"https://github.com/kubernetes/kubernetes/issues/113756","label":"github.com/kubernetes/kubernetes/issues/113756","hostname":"github.com","tags":["ARTICLE","WEB","Issue Tracking","Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20230511-0004/","label":"security.netapp.com/advisory/ntap-20230511-0004/","hostname":"security.netapp.com","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2023:0772","label":"access.redhat.com/errata/RHSA-2023:0772","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2136673","label":"bugzilla.redhat.com/show_bug.cgi?id=2136673","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://issues.redhat.com/browse/OCPBUGS-6908","label":"issues.redhat.com/browse/OCPBUGS-6908","hostname":"issues.redhat.com","tags":["ARTICLE"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_0772.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_0772.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-3162","label":"access.redhat.com/security/cve/CVE-2022-3162","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-3162","label":"www.cve.org/CVERecord?id=CVE-2022-3162","hostname":"www.cve.org","tags":["Advisory","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3162","label":"nvd.nist.gov/vuln/detail/CVE-2022-3162","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]},{"url":"https://ubuntu.com/security/CVE-2022-3162","label":"ubuntu.com/security/CVE-2022-3162","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-3162","label":"security-tracker.debian.org/tracker/CVE-2022-3162","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/kubernetes/kubernetes","label":"github.com/kubernetes/kubernetes","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://security.netapp.com/advisory/ntap-20230511-0004","label":"security.netapp.com/advisory/ntap-20230511-0004","hostname":"security.netapp.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-2394-5535-8j88","label":"github.com/advisories/GHSA-2394-5535-8j88","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:12810-1","OPENSUSE-SU-2025:15424-1","RHSA-2022:7398","SUSE-SU-2023:2292-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:12810-1","OPENSUSE-SU-2025:15424-1","SUSE-SU-2023:2292-1"]},"timeline":[{"kind":"published","date":"2023-03-01T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-07T18:35:03.127Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T11:21:55.807Z","stale":false,"partial":false}}