{"answers":{"affected":"3 open source packages ship an affected version, including github.com/opencontainers/runc. It affects 2 products.","exploited":"There is no known exploitation of CVE-2021-30465 in the wild and no public exploit code.","fix":"Upgrade github.com/opencontainers/runc to 1.0.0-rc95 or later.","what":"CVE-2021-30465 is a high-severity path traversal vulnerability in Fedoraproject Fedora, published on 27 May 2021. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-30465 and fix it if it is affected.\n\nWhat it is: CVE-2021-30465 is a high-severity path traversal vulnerability in Fedoraproject Fedora, published on 27 May 2021. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-30465 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/opencontainers/runc (Go): affected all versions; fixed in 1.0.0-rc95\n- github.com/opencontainers/runc (Go): affected all versions; fixed in 1.0.0-rc95\n- github.com/opencontainers/runc (Go): affected all versions; fixed in 1.0.0-rc95\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-2021-30465/ (Markdown: https://insights.sbomify.com/CVE-2021-30465/index.md)","id":"CVE-2021-30465","markdown":"https://insights.sbomify.com/CVE-2021-30465/index.md","name":"CVE-2021-30465","record":{"aliases":["ALSA-2021:2291","ALSA-2021:2370","ALSA-2021:2371","AZL-44262","CLEANSTART-2026-EN07365","DEBIAN-CVE-2021-30465","GHSA-c3xm-pvg7-gh7r","GO-2022-0914","MGASA-2021-0412","OESA-2021-1215","RHSA-2021:1566","RHSA-2021:2057","RHSA-2021:2144","RHSA-2021:2145","RHSA-2021:2150","RHSA-2021:2291","RHSA-2021:2292","RHSA-2021:2370","RHSA-2021:2371","RLSA-2021:2291","RLSA-2021:2370","RLSA-2021:2371","SUSE-SU-2021:1885-1","UBUNTU-CVE-2021-30465","USN-4960-1"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":true,"product_category":"runc container runtime","requires_auth":"low_privilege","summary":"Attackers can escape container isolation via a race condition in runc, enabling code execution and privilege escalation on the host.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"runc","vendor":"linuxfoundation"}],"cvss":{"score":8.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"description":"runc before 1.0.0-rc95 allows a Container Filesystem Breakout via Directory Traversal. To exploit the vulnerability, an attacker must be able to create multiple containers with a fairly specific mount configuration. The problem occurs via a symlink-exchange attack that relies on a race condition.","ecosystems":["AlmaLinux:8","Go","Red Hat:enterprise_linux:8::appstream","Red Hat:openshift:3.11::el7","Red Hat:openshift:4.5::el7","Red Hat:openshift:4.5::el8","Red Hat:openshift:4.6::el7","Red Hat:openshift:4.6::el8","Red Hat:rhel_eus:8.2::appstream","Red Hat:rhel_extras_other:7","Rocky Linux:8","SUSE:Linux Enterprise Module for Containers 12"],"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":"mount destinations can be swapped via symlink-exchange to cause mounts outside the rootfs","id":"CVE-2021-30465","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":"fedoraproject:fedora","products":["fedoraproject:fedora"],"type":"path_traversal","year":"2021"},"n_packages":394,"n_references":11,"next":{"headline":"Apache CXF Denial of service vulnerability in parsing JSON via JsonMapObjectReaderWriter","id":"CVE-2021-30468"},"packages":[{"ecosystem":"Go","fixed":["1.0.0-rc95"],"introduced":["0"],"last_affected":[],"package":"github.com/opencontainers/runc","purl":null,"source":"GHSA-c3xm-pvg7-gh7r"},{"ecosystem":"Go","fixed":["1.0.0-rc95"],"introduced":["0"],"last_affected":[],"package":"github.com/opencontainers/runc","purl":"pkg:golang/github.com/opencontainers/runc","source":"GHSA-c3xm-pvg7-gh7r"},{"ecosystem":"Go","fixed":["1.0.0-rc95"],"introduced":["0"],"last_affected":[],"package":"github.com/opencontainers/runc","purl":"pkg:golang/github.com/opencontainers/runc","source":"GO-2022-0914"},{"ecosystem":"AlmaLinux:8","fixed":["11-1.module_el8.5.0+108+00865455"],"introduced":["0"],"last_affected":[],"package":"cockpit-podman","purl":"pkg:rpm/almalinux/cockpit-podman","source":"ALSA-2021:2291"},{"ecosystem":"AlmaLinux:8","fixed":["11-1.module_el8.5.0+2635+e4386a39"],"introduced":["0"],"last_affected":[],"package":"cockpit-podman","purl":"pkg:rpm/almalinux/cockpit-podman","source":"ALSA-2021:2291"},{"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-2021:2370"},{"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-2021:2371"},{"ecosystem":"AlmaLinux:8","fixed":["2:2.0.15-1.module_el8.5.0+108+00865455"],"introduced":["0"],"last_affected":[],"package":"conmon","purl":"pkg:rpm/almalinux/conmon","source":"ALSA-2021:2291"},{"ecosystem":"AlmaLinux:8","fixed":["2:2.0.15-1.module_el8.5.0+2635+e4386a39"],"introduced":["0"],"last_affected":[],"package":"conmon","purl":"pkg:rpm/almalinux/conmon","source":"ALSA-2021:2291"},{"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-2021:2370"},{"ecosystem":"AlmaLinux:8","fixed":["2:2.0.26-3.module_el8.7.0+3406+a17c4180"],"introduced":["0"],"last_affected":[],"package":"conmon","purl":"pkg:rpm/almalinux/conmon","source":"ALSA-2021:2371"},{"ecosystem":"AlmaLinux:8","fixed":["2:2.130.0-1.module_el8.5.0+108+00865455"],"introduced":["0"],"last_affected":[],"package":"container-selinux","purl":"pkg:rpm/almalinux/container-selinux","source":"ALSA-2021:2291"},{"ecosystem":"AlmaLinux:8","fixed":["2:2.130.0-1.module_el8.5.0+2635+e4386a39"],"introduced":["0"],"last_affected":[],"package":"container-selinux","purl":"pkg:rpm/almalinux/container-selinux","source":"ALSA-2021:2291"},{"ecosystem":"AlmaLinux:8","fixed":["0.8.3-4.module_el8.5.0+108+00865455"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins","purl":"pkg:rpm/almalinux/containernetworking-plugins","source":"ALSA-2021:2291"},{"ecosystem":"AlmaLinux:8","fixed":["0.8.3-4.module_el8.5.0+2635+e4386a39"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins","purl":"pkg:rpm/almalinux/containernetworking-plugins","source":"ALSA-2021:2291"},{"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-2021:2370"},{"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-2021:2371"},{"ecosystem":"AlmaLinux:8","fixed":["1:0.1.41-4.module_el8.5.0+108+00865455"],"introduced":["0"],"last_affected":[],"package":"containers-common","purl":"pkg:rpm/almalinux/containers-common","source":"ALSA-2021:2291"},{"ecosystem":"AlmaLinux:8","fixed":["1:0.1.41-4.module_el8.5.0+2635+e4386a39"],"introduced":["0"],"last_affected":[],"package":"containers-common","purl":"pkg:rpm/almalinux/containers-common","source":"ALSA-2021:2291"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.3.0+2044+12421f43"],"introduced":["0"],"last_affected":[],"package":"crit","purl":"pkg:rpm/almalinux/crit","source":"ALSA-2021:2291"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.4.0+2496+12421f43"],"introduced":["0"],"last_affected":[],"package":"crit","purl":"pkg:rpm/almalinux/crit","source":"ALSA-2021:2291"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.5.0+119+9a9ec082"],"introduced":["0"],"last_affected":[],"package":"crit","purl":"pkg:rpm/almalinux/crit","source":"ALSA-2021:2291"},{"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-2021:2370"},{"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-2021:2371"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.3.0+2044+12421f43"],"introduced":["0"],"last_affected":[],"package":"criu","purl":"pkg:rpm/almalinux/criu","source":"ALSA-2021:2291"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.4.0+2496+12421f43"],"introduced":["0"],"last_affected":[],"package":"criu","purl":"pkg:rpm/almalinux/criu","source":"ALSA-2021:2291"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.5.0+119+9a9ec082"],"introduced":["0"],"last_affected":[],"package":"criu","purl":"pkg:rpm/almalinux/criu","source":"ALSA-2021:2291"},{"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-2021:2370"},{"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-2021:2371"},{"ecosystem":"AlmaLinux:8","fixed":["0.7.8-1.module_el8.5.0+108+00865455"],"introduced":["0"],"last_affected":[],"package":"fuse-overlayfs","purl":"pkg:rpm/almalinux/fuse-overlayfs","source":"ALSA-2021:2291"},{"ecosystem":"AlmaLinux:8","fixed":["0.7.8-1.module_el8.5.0+2635+e4386a39"],"introduced":["0"],"last_affected":[],"package":"fuse-overlayfs","purl":"pkg:rpm/almalinux/fuse-overlayfs","source":"ALSA-2021:2291"},{"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-2021:2370"},{"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-2021:2370"},{"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-2021:2371"},{"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-2021:2370"},{"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-2021:2371"},{"ecosystem":"AlmaLinux:8","fixed":["1.2.0-0.2.gitd0a45fe.module_el8.5.0+108+00865455"],"introduced":["0"],"last_affected":[],"package":"python-podman-api","purl":"pkg:rpm/almalinux/python-podman-api","source":"ALSA-2021:2291"},{"ecosystem":"AlmaLinux:8","fixed":["1.2.0-0.2.gitd0a45fe.module_el8.5.0+2635+e4386a39"],"introduced":["0"],"last_affected":[],"package":"python-podman-api","purl":"pkg:rpm/almalinux/python-podman-api","source":"ALSA-2021:2291"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.3.0+2044+12421f43"],"introduced":["0"],"last_affected":[],"package":"python3-criu","purl":"pkg:rpm/almalinux/python3-criu","source":"ALSA-2021:2291"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.4.0+2496+12421f43"],"introduced":["0"],"last_affected":[],"package":"python3-criu","purl":"pkg:rpm/almalinux/python3-criu","source":"ALSA-2021:2291"}],"prev":{"headline":"Denial of service in n/a","id":"CVE-2021-30464"},"products":["n/a"],"published":"2021-05-27","related":[{"cvss_score":9.8,"headline":"PHP-CGI OS Command Injection","id":"CVE-2024-4577","kev_date_added":"2024-06-12","published":"2024-06-09"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2021-39226","kev_date_added":"2022-08-25","published":"2021-10-05"},{"cvss_score":9.8,"headline":"VMware ESXi and Horizon DaaS OpenSLP Heap-Based Buffer Overflow","id":"CVE-2019-5544","kev_date_added":"2021-11-03","published":"2019-12-06"},{"cvss_score":9.6,"headline":"Google Chromium V8 Type Confusion","id":"CVE-2024-4947","kev_date_added":"2024-05-20","published":"2024-05-15"},{"cvss_score":9.6,"headline":"Google Chromium Visuals Use-After-Free","id":"CVE-2024-4671","kev_date_added":"2024-05-13","published":"2024-05-09"},{"cvss_score":9.6,"headline":"Google Chromium Mojo Insufficient Data Validation","id":"CVE-2022-3075","kev_date_added":"2022-09-08","published":"2022-09-26"},{"cvss_score":9.6,"headline":"Google Chromium Indexed DB API Use-After-Free","id":"CVE-2021-30633","kev_date_added":"2021-11-03","published":"2021-10-08"}],"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":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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 can escape container isolation via a race condition in runc, enabling code execution and privilege escalation on the host.","url":"https://insights.sbomify.com/CVE-2021-30465/"}