{"answers":{"affected":"3 open source packages ship an affected version, including github.com/cri-o/cri-o. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-2995 exists.","fix":"Upgrade github.com/cri-o/cri-o to 1.25.0 or later.","what":"CVE-2022-2995 is a high-severity missing authorization vulnerability in cri-o, published on 19 Sep 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-2995 and fix it if it is affected.\n\nWhat it is: CVE-2022-2995 is a high-severity missing authorization vulnerability in cri-o, published on 19 Sep 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-2995 exists.\n\nAffected packages and fixed versions:\n- github.com/cri-o/cri-o (Go): affected all versions; fixed in 1.25.0\n- github.com/cri-o/cri-o (Go): affected all versions; fixed in 1.25.0\n- github.com/cri-o/cri-o (Go): affected all versions; fixed in 1.25.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-2995/ (Markdown: https://insights.sbomify.com/CVE-2022-2995/index.md)","id":"CVE-2022-2995","markdown":"https://insights.sbomify.com/CVE-2022-2995/index.md","name":"CVE-2022-2995","record":{"aliases":["AZL-39882","GHSA-phjr-8j92-w5v7","GO-2022-1014","OESA-2024-1251","RHSA-2023:3216"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["data_read","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"CRI-O container engine","requires_auth":"low_privilege","summary":"Attackers with code execution in a CRI-O container can bypass supplementary group permissions to read or modify sensitive data.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"cri-o","vendor":"kubernetes"}],"cvss":{"score":7.1,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"},{"id":"CWE-284","name":"Improper Access Control"}],"description":"Incorrect handling of the supplementary groups in the CRI-O container engine might lead to sensitive information disclosure or possible data modification if an attacker has direct access to the affected container where supplementary groups are used to set access permissions and is able to execute a binary code in that container.","ecosystems":["Go","Red Hat:openshift:4.10::el7","Red Hat:openshift:4.10::el8"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"CRI-O incorrect handling of supplementary groups may lead to sensitive information disclosure","id":"CVE-2022-2995","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"missing_authorization","year":"2022"},"n_packages":8,"n_references":2,"next":{"headline":"python-scciclient vulnerable to Man-in-the-middle (MITM) attacks","id":"CVE-2022-2996"},"packages":[{"ecosystem":"Go","fixed":["1.25.0"],"introduced":["0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":null,"source":"GHSA-phjr-8j92-w5v7"},{"ecosystem":"Go","fixed":["1.25.0"],"introduced":["0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":"pkg:golang/github.com/cri-o/cri-o","source":"GHSA-phjr-8j92-w5v7"},{"ecosystem":"Go","fixed":["1.25.0"],"introduced":["0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":"pkg:golang/github.com/cri-o/cri-o","source":"GO-2022-1014"},{"ecosystem":"Red Hat:openshift:4.10::el7","fixed":["0:1.23.5-11.rhaos4.10.gitfc32aac.el7"],"introduced":["0"],"last_affected":[],"package":"cri-o","purl":"pkg:rpm/redhat/cri-o","source":"RHSA-2023:3216"},{"ecosystem":"Red Hat:openshift:4.10::el7","fixed":["0:1.23.5-11.rhaos4.10.gitfc32aac.el7"],"introduced":["0"],"last_affected":[],"package":"cri-o-debuginfo","purl":"pkg:rpm/redhat/cri-o-debuginfo","source":"RHSA-2023:3216"},{"ecosystem":"Red Hat:openshift:4.10::el8","fixed":["0:1.23.5-11.rhaos4.10.gitfc32aac.el8"],"introduced":["0"],"last_affected":[],"package":"cri-o","purl":"pkg:rpm/redhat/cri-o","source":"RHSA-2023:3216"},{"ecosystem":"Red Hat:openshift:4.10::el8","fixed":["0:1.23.5-11.rhaos4.10.gitfc32aac.el8"],"introduced":["0"],"last_affected":[],"package":"cri-o-debuginfo","purl":"pkg:rpm/redhat/cri-o-debuginfo","source":"RHSA-2023:3216"},{"ecosystem":"Red Hat:openshift:4.10::el8","fixed":["0:1.23.5-11.rhaos4.10.gitfc32aac.el8"],"introduced":["0"],"last_affected":[],"package":"cri-o-debugsource","purl":"pkg:rpm/redhat/cri-o-debugsource","source":"RHSA-2023:3216"}],"prev":{"headline":"bt: host: Wrong key validation check","id":"CVE-2022-2993"},"products":["cri-o"],"published":"2022-09-19","related":[{"cvss_score":8.8,"headline":"Code Injection in CRI-O","id":"CVE-2022-0811","kev_date_added":null,"published":"2022-03-16"},{"cvss_score":8.8,"headline":"Privilege escalation in n/a","id":"CVE-2018-1000400","kev_date_added":null,"published":"2018-05-18"},{"cvss_score":8.1,"headline":"Cri-o: malicious container can create symlink on host","id":"CVE-2024-5154","kev_date_added":null,"published":"2024-06-12"},{"cvss_score":4.8,"headline":"Cri-o: security regression of cve-2022-27652","id":"CVE-2022-3466","kev_date_added":null,"published":"2023-09-15"},{"cvss_score":4.2,"headline":"Incorrect Permission Assignment for Critical Resource in CRI-O","id":"CVE-2022-0532","kev_date_added":null,"published":"2022-02-09"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-05-29","vendors":["n/a"]},"summary":"Attackers with code execution in a CRI-O container can bypass supplementary group permissions to read or modify sensitive data.","url":"https://insights.sbomify.com/CVE-2022-2995/"}