{"answers":{"affected":"It affects 4 products.","exploited":"There is no known exploitation of CVE-2022-27650 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2022-27650 is a high-severity vulnerability in Fedoraproject Fedora, published on 4 Apr 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-27650 and fix it if it is affected.\n\nWhat it is: CVE-2022-27650 is a high-severity vulnerability in Fedoraproject Fedora, published on 4 Apr 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-27650 in the wild and no public exploit code.\n\nAffected product: Fedoraproject Fedora. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-27650/ (Markdown: https://insights.sbomify.com/CVE-2022-27650/index.md)","id":"CVE-2022-27650","markdown":"https://insights.sbomify.com/CVE-2022-27650/index.md","name":"CVE-2022-27650","record":{"aliases":["ALSA-2022:1793","CLEANSTART-2024-YM37206","DEBIAN-CVE-2022-27650","GHSA-wr4f-w546-m398","MGASA-2022-0141","RHSA-2022:1793","RLSA-2022:1793","UBUNTU-CVE-2022-27650","openSUSE-SU-2024:11989-1"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Container runtime","requires_auth":"low_privilege","summary":"Attackers with access to programs with inheritable file capabilities can elevate privileges within containers due to incorrect default permission handling in crun and Docker.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"crun","vendor":"crun_project"},{"product":"fedora","vendor":"fedoraproject"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"openshift_container_platform","vendor":"redhat"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-276","name":"Incorrect Default Permissions"}],"description":"A flaw was found in crun where containers were incorrectly started with non-empty default permissions. A vulnerability was found in Moby (Docker Engine) where containers were started incorrectly with non-empty inheritable Linux process capabilities. This flaw allows an attacker with access to programs with inheritable file capabilities to elevate those capabilities to the permitted set when execve(2) runs.","ecosystems":["AlmaLinux:8","Red Hat:enterprise_linux:8::appstream","Rocky Linux:8","openSUSE:Tumbleweed"],"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":"Privilege escalation in crun","id":"CVE-2022-27650","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"fedoraproject:fedora","products":["fedoraproject:fedora","redhat:enterprise_linux","redhat:openshift_container_platform"],"type":"privilege_escalation","year":"2022"},"n_packages":135,"n_references":4,"next":{"headline":"Non-empty default inheritable capabilities for linux container in Buildah","id":"CVE-2022-27651"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["1.19.9-3.module_el8.6.0+2876+9ed4eae2"],"introduced":["0"],"last_affected":[],"package":"buildah","purl":"pkg:rpm/almalinux/buildah","source":"ALSA-2022:1793"},{"ecosystem":"AlmaLinux:8","fixed":["1.19.9-3.module_el8.6.0+2876+9ed4eae2"],"introduced":["0"],"last_affected":[],"package":"buildah-tests","purl":"pkg:rpm/almalinux/buildah-tests","source":"ALSA-2022:1793"},{"ecosystem":"AlmaLinux:8","fixed":["29-2.module_el8.6.0+2876+9ed4eae2"],"introduced":["0"],"last_affected":[],"package":"cockpit-podman","purl":"pkg:rpm/almalinux/cockpit-podman","source":"ALSA-2022:1793"},{"ecosystem":"AlmaLinux:8","fixed":["2:2.0.26-1.module_el8.6.0+2876+9ed4eae2"],"introduced":["0"],"last_affected":[],"package":"conmon","purl":"pkg:rpm/almalinux/conmon","source":"ALSA-2022:1793"},{"ecosystem":"AlmaLinux:8","fixed":["2:2.178.0-2.module_el8.6.0+2876+9ed4eae2"],"introduced":["0"],"last_affected":[],"package":"container-selinux","purl":"pkg:rpm/almalinux/container-selinux","source":"ALSA-2022:1793"},{"ecosystem":"AlmaLinux:8","fixed":["0.9.1-1.module_el8.6.0+2876+9ed4eae2"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins","purl":"pkg:rpm/almalinux/containernetworking-plugins","source":"ALSA-2022:1793"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.2.4-1.module_el8.6.0+2876+9ed4eae2"],"introduced":["0"],"last_affected":[],"package":"containers-common","purl":"pkg:rpm/almalinux/containers-common","source":"ALSA-2022:1793"},{"ecosystem":"AlmaLinux:8","fixed":["3.15-1.module_el8.6.0+2876+9ed4eae2"],"introduced":["0"],"last_affected":[],"package":"crit","purl":"pkg:rpm/almalinux/crit","source":"ALSA-2022:1793"},{"ecosystem":"AlmaLinux:8","fixed":["3.15-1.module_el8.6.0+2876+9ed4eae2"],"introduced":["0"],"last_affected":[],"package":"criu","purl":"pkg:rpm/almalinux/criu","source":"ALSA-2022:1793"},{"ecosystem":"AlmaLinux:8","fixed":["0.18-3.module_el8.6.0+2876+9ed4eae2"],"introduced":["0"],"last_affected":[],"package":"crun","purl":"pkg:rpm/almalinux/crun","source":"ALSA-2022:1793"},{"ecosystem":"AlmaLinux:8","fixed":["1.4.0-2.module_el8.6.0+2876+9ed4eae2"],"introduced":["0"],"last_affected":[],"package":"fuse-overlayfs","purl":"pkg:rpm/almalinux/fuse-overlayfs","source":"ALSA-2022:1793"},{"ecosystem":"AlmaLinux:8","fixed":["4.3.1-1.module_el8.6.0+2876+9ed4eae2"],"introduced":["0"],"last_affected":[],"package":"libslirp","purl":"pkg:rpm/almalinux/libslirp","source":"ALSA-2022:1793"},{"ecosystem":"AlmaLinux:8","fixed":["4.3.1-1.module_el8.6.0+2876+9ed4eae2"],"introduced":["0"],"last_affected":[],"package":"libslirp-devel","purl":"pkg:rpm/almalinux/libslirp-devel","source":"ALSA-2022:1793"},{"ecosystem":"AlmaLinux:8","fixed":["1.2.0-3.module_el8.6.0+2876+9ed4eae2"],"introduced":["0"],"last_affected":[],"package":"oci-seccomp-bpf-hook","purl":"pkg:rpm/almalinux/oci-seccomp-bpf-hook","source":"ALSA-2022:1793"},{"ecosystem":"AlmaLinux:8","fixed":["3.0.1-8.module_el8.6.0+2876+9ed4eae2"],"introduced":["0"],"last_affected":[],"package":"podman","purl":"pkg:rpm/almalinux/podman","source":"ALSA-2022:1793"},{"ecosystem":"AlmaLinux:8","fixed":["3.0.1-8.module_el8.6.0+2876+9ed4eae2"],"introduced":["0"],"last_affected":[],"package":"podman-catatonit","purl":"pkg:rpm/almalinux/podman-catatonit","source":"ALSA-2022:1793"},{"ecosystem":"AlmaLinux:8","fixed":["3.0.1-8.module_el8.6.0+2876+9ed4eae2"],"introduced":["0"],"last_affected":[],"package":"podman-docker","purl":"pkg:rpm/almalinux/podman-docker","source":"ALSA-2022:1793"},{"ecosystem":"AlmaLinux:8","fixed":["3.0.1-8.module_el8.6.0+2876+9ed4eae2"],"introduced":["0"],"last_affected":[],"package":"podman-plugins","purl":"pkg:rpm/almalinux/podman-plugins","source":"ALSA-2022:1793"},{"ecosystem":"AlmaLinux:8","fixed":["3.0.1-8.module_el8.6.0+2876+9ed4eae2"],"introduced":["0"],"last_affected":[],"package":"podman-remote","purl":"pkg:rpm/almalinux/podman-remote","source":"ALSA-2022:1793"},{"ecosystem":"AlmaLinux:8","fixed":["3.0.1-8.module_el8.6.0+2876+9ed4eae2"],"introduced":["0"],"last_affected":[],"package":"podman-tests","purl":"pkg:rpm/almalinux/podman-tests","source":"ALSA-2022:1793"},{"ecosystem":"AlmaLinux:8","fixed":["3.15-1.module_el8.6.0+2876+9ed4eae2"],"introduced":["0"],"last_affected":[],"package":"python3-criu","purl":"pkg:rpm/almalinux/python3-criu","source":"ALSA-2022:1793"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.0-73.rc95.module_el8.6.0+2876+9ed4eae2"],"introduced":["0"],"last_affected":[],"package":"runc","purl":"pkg:rpm/almalinux/runc","source":"ALSA-2022:1793"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.2.4-1.module_el8.6.0+2876+9ed4eae2"],"introduced":["0"],"last_affected":[],"package":"skopeo","purl":"pkg:rpm/almalinux/skopeo","source":"ALSA-2022:1793"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.2.4-1.module_el8.6.0+2876+9ed4eae2"],"introduced":["0"],"last_affected":[],"package":"skopeo-tests","purl":"pkg:rpm/almalinux/skopeo-tests","source":"ALSA-2022:1793"},{"ecosystem":"AlmaLinux:8","fixed":["1.1.8-1.module_el8.6.0+2876+9ed4eae2"],"introduced":["0"],"last_affected":[],"package":"slirp4netns","purl":"pkg:rpm/almalinux/slirp4netns","source":"ALSA-2022:1793"},{"ecosystem":"AlmaLinux:8","fixed":["0.0.99.3-1.module_el8.6.0+2876+9ed4eae2"],"introduced":["0"],"last_affected":[],"package":"toolbox","purl":"pkg:rpm/almalinux/toolbox","source":"ALSA-2022:1793"},{"ecosystem":"AlmaLinux:8","fixed":["0.0.99.3-1.module_el8.6.0+2876+9ed4eae2"],"introduced":["0"],"last_affected":[],"package":"toolbox-tests","purl":"pkg:rpm/almalinux/toolbox-tests","source":"ALSA-2022:1793"},{"ecosystem":"AlmaLinux:8","fixed":["0.2.4-1.module_el8.6.0+2876+9ed4eae2"],"introduced":["0"],"last_affected":[],"package":"udica","purl":"pkg:rpm/almalinux/udica","source":"ALSA-2022:1793"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.19.9-3.module+el8.6.0+14694+4f5132e0"],"introduced":["0"],"last_affected":[],"package":"buildah","purl":"pkg:rpm/redhat/buildah","source":"RHSA-2022:1793"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.19.9-3.module+el8.6.0+14694+4f5132e0"],"introduced":["0"],"last_affected":[],"package":"buildah-debuginfo","purl":"pkg:rpm/redhat/buildah-debuginfo","source":"RHSA-2022:1793"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.19.9-3.module+el8.6.0+14694+4f5132e0"],"introduced":["0"],"last_affected":[],"package":"buildah-debugsource","purl":"pkg:rpm/redhat/buildah-debugsource","source":"RHSA-2022:1793"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.19.9-3.module+el8.6.0+14694+4f5132e0"],"introduced":["0"],"last_affected":[],"package":"buildah-tests","purl":"pkg:rpm/redhat/buildah-tests","source":"RHSA-2022:1793"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.19.9-3.module+el8.6.0+14694+4f5132e0"],"introduced":["0"],"last_affected":[],"package":"buildah-tests-debuginfo","purl":"pkg:rpm/redhat/buildah-tests-debuginfo","source":"RHSA-2022:1793"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:29-2.module+el8.6.0+14694+4f5132e0"],"introduced":["0"],"last_affected":[],"package":"cockpit-podman","purl":"pkg:rpm/redhat/cockpit-podman","source":"RHSA-2022:1793"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["2:2.0.26-1.module+el8.6.0+14694+4f5132e0"],"introduced":["0"],"last_affected":[],"package":"conmon","purl":"pkg:rpm/redhat/conmon","source":"RHSA-2022:1793"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["2:2.0.26-1.module+el8.6.0+14694+4f5132e0"],"introduced":["0"],"last_affected":[],"package":"conmon-debuginfo","purl":"pkg:rpm/redhat/conmon-debuginfo","source":"RHSA-2022:1793"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["2:2.0.26-1.module+el8.6.0+14694+4f5132e0"],"introduced":["0"],"last_affected":[],"package":"conmon-debugsource","purl":"pkg:rpm/redhat/conmon-debugsource","source":"RHSA-2022:1793"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["2:2.178.0-2.module+el8.6.0+14694+4f5132e0"],"introduced":["0"],"last_affected":[],"package":"container-selinux","purl":"pkg:rpm/redhat/container-selinux","source":"RHSA-2022:1793"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.9.1-1.module+el8.6.0+14694+4f5132e0"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins","purl":"pkg:rpm/redhat/containernetworking-plugins","source":"RHSA-2022:1793"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.9.1-1.module+el8.6.0+14694+4f5132e0"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins-debuginfo","purl":"pkg:rpm/redhat/containernetworking-plugins-debuginfo","source":"RHSA-2022:1793"}],"prev":{"headline":"Podman's default inheritable capabilities for linux container not empty","id":"CVE-2022-27649"},"products":["crun"],"published":"2022-04-04","related":[{"cvss_score":8.6,"headline":"An issue was discovered in crun before 0.10.5.","id":"CVE-2019-18837","kev_date_added":null,"published":"2019-11-13"},{"cvss_score":0,"headline":"Crun incorrectly parses `crun exec` option `-u`, leading to privilege escalation","id":"CVE-2026-30892","kev_date_added":null,"published":"2026-03-25"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"Attackers with access to programs with inheritable file capabilities can elevate privileges within containers due to incorrect default permission handling in crun and Docker.","url":"https://insights.sbomify.com/CVE-2022-27650/"}