{"answers":{"affected":"3 open source packages ship an affected version, including github.com/cri-o/cri-o. It affects 2 products.","exploited":"There is no known exploitation of CVE-2022-0532 in the wild and no public exploit code.","fix":"Upgrade github.com/cri-o/cri-o to 1.23.1 or later.","what":"CVE-2022-0532 is a medium-severity vulnerability in Redhat Openshift Container Platform, published on 9 Feb 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-0532 and fix it if it is affected.\n\nWhat it is: CVE-2022-0532 is a medium-severity vulnerability in Redhat Openshift Container Platform, published on 9 Feb 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-0532 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/cri-o/cri-o (Go): affected all versions; fixed in 1.23.1\n- github.com/cri-o/cri-o (Go): affected all versions; fixed in 1.23.1\n- github.com/cri-o/cri-o (Go): affected all versions; fixed in 1.23.1\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-0532/ (Markdown: https://insights.sbomify.com/CVE-2022-0532/index.md)","id":"CVE-2022-0532","markdown":"https://insights.sbomify.com/CVE-2022-0532/index.md","name":"CVE-2022-0532","record":{"aliases":["GHSA-jqmc-79gx-7g8p","GO-2022-0608","RHBA-2022:0793","RHBA-2022:0794"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"CRI-O container runtime","requires_auth":"low_privilege","summary":"Attackers can escalate privileges by applying host sysctls via pods with host namespaces, requiring specific cluster configurations.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"cri-o","vendor":"kubernetes"},{"product":"openshift_container_platform","vendor":"redhat"}],"cvss":{"score":4.2,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"}],"description":"An incorrect sysctls validation vulnerability was found in CRI-O 1.18 and earlier. The sysctls from the list of \"safe\" sysctls specified for the cluster will be applied to the host if an attacker is able to create a pod with a hostIPC and hostNetwork kernel namespace.","ecosystems":["Go","Red Hat:openshift:4.8::el7","Red Hat:openshift:4.8::el8","Red Hat:openshift:4.9::el7","Red Hat:openshift:4.9::el8"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Incorrect Permission Assignment for Critical Resource in CRI-O","id":"CVE-2022-0532","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":"redhat:openshift_container_platform","products":["redhat:openshift_container_platform"],"type":"privilege_escalation","year":"2022"},"n_packages":13,"n_references":2,"next":{"headline":"Ditty (formerly Ditty News Ticker) \u003c 3.0.15 - Reflected Cross-Site Scripting (XSS)","id":"CVE-2022-0533"},"packages":[{"ecosystem":"Go","fixed":["1.23.1"],"introduced":["0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":null,"source":"GHSA-jqmc-79gx-7g8p"},{"ecosystem":"Go","fixed":["1.23.1"],"introduced":["0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":"pkg:golang/github.com/cri-o/cri-o","source":"GHSA-jqmc-79gx-7g8p"},{"ecosystem":"Go","fixed":["1.23.1"],"introduced":["0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":"pkg:golang/github.com/cri-o/cri-o","source":"GO-2022-0608"},{"ecosystem":"Red Hat:openshift:4.8::el7","fixed":["0:1.21.5-2.rhaos4.8.gitaf64931.el7"],"introduced":["0"],"last_affected":[],"package":"cri-o","purl":"pkg:rpm/redhat/cri-o","source":"RHBA-2022:0793"},{"ecosystem":"Red Hat:openshift:4.8::el7","fixed":["0:1.21.5-2.rhaos4.8.gitaf64931.el7"],"introduced":["0"],"last_affected":[],"package":"cri-o-debuginfo","purl":"pkg:rpm/redhat/cri-o-debuginfo","source":"RHBA-2022:0793"},{"ecosystem":"Red Hat:openshift:4.8::el8","fixed":["0:1.21.5-2.rhaos4.8.gitaf64931.el8"],"introduced":["0"],"last_affected":[],"package":"cri-o","purl":"pkg:rpm/redhat/cri-o","source":"RHBA-2022:0793"},{"ecosystem":"Red Hat:openshift:4.8::el8","fixed":["0:1.21.5-2.rhaos4.8.gitaf64931.el8"],"introduced":["0"],"last_affected":[],"package":"cri-o-debuginfo","purl":"pkg:rpm/redhat/cri-o-debuginfo","source":"RHBA-2022:0793"},{"ecosystem":"Red Hat:openshift:4.8::el8","fixed":["0:1.21.5-2.rhaos4.8.gitaf64931.el8"],"introduced":["0"],"last_affected":[],"package":"cri-o-debugsource","purl":"pkg:rpm/redhat/cri-o-debugsource","source":"RHBA-2022:0793"},{"ecosystem":"Red Hat:openshift:4.9::el7","fixed":["0:1.22.2-2.rhaos4.9.gitb030be8.el7"],"introduced":["0"],"last_affected":[],"package":"cri-o","purl":"pkg:rpm/redhat/cri-o","source":"RHBA-2022:0794"},{"ecosystem":"Red Hat:openshift:4.9::el7","fixed":["0:1.22.2-2.rhaos4.9.gitb030be8.el7"],"introduced":["0"],"last_affected":[],"package":"cri-o-debuginfo","purl":"pkg:rpm/redhat/cri-o-debuginfo","source":"RHBA-2022:0794"},{"ecosystem":"Red Hat:openshift:4.9::el8","fixed":["0:1.22.2-2.rhaos4.9.gitb030be8.el8"],"introduced":["0"],"last_affected":[],"package":"cri-o","purl":"pkg:rpm/redhat/cri-o","source":"RHBA-2022:0794"},{"ecosystem":"Red Hat:openshift:4.9::el8","fixed":["0:1.22.2-2.rhaos4.9.gitb030be8.el8"],"introduced":["0"],"last_affected":[],"package":"cri-o-debuginfo","purl":"pkg:rpm/redhat/cri-o-debuginfo","source":"RHBA-2022:0794"},{"ecosystem":"Red Hat:openshift:4.9::el8","fixed":["0:1.22.2-2.rhaos4.9.gitb030be8.el8"],"introduced":["0"],"last_affected":[],"package":"cri-o-debugsource","purl":"pkg:rpm/redhat/cri-o-debugsource","source":"RHBA-2022:0794"}],"prev":{"headline":"WPvivid Backup and Migration Plugin \u003c 0.9.70 - Reflected Cross-Site Scripting","id":"CVE-2022-0531"},"products":["cri-o"],"published":"2022-02-09","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":7.1,"headline":"CRI-O incorrect handling of supplementary groups may lead to sensitive information disclosure","id":"CVE-2022-2995","kev_date_added":null,"published":"2022-09-19"},{"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"}],"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":"RHBA"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["n/a"]},"summary":"Attackers can escalate privileges by applying host sysctls via pods with host namespaces, requiring specific cluster configurations.","url":"https://insights.sbomify.com/CVE-2022-0532/"}