{"answers":{"affected":"3 open source packages ship an affected version, including github.com/containers/buildah. It affects 14 products.","exploited":"There is no known exploitation of CVE-2024-9675 in the wild and no public exploit code.","fix":"Upgrade github.com/containers/buildah to a fixed version for your release line: 1.37.1 or 1.38.0.","what":"CVE-2024-9675 is a high-severity path traversal vulnerability in Redhat Enterprise Linux, published on 9 Oct 2024. 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-2024-9675 and fix it if it is affected.\n\nWhat it is: CVE-2024-9675 is a high-severity path traversal vulnerability in Redhat Enterprise Linux, published on 9 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-9675 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/containers/buildah (Go): affected all versions; fixed in 1.37.1\n- github.com/containers/buildah (Go): affected all versions; fixed in 1.38.0\n- github.com/containers/buildah (Go): affected all versions; fixed in 1.38.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-2024-9675/ (Markdown: https://insights.sbomify.com/CVE-2024-9675/index.md)","id":"CVE-2024-9675","markdown":"https://insights.sbomify.com/CVE-2024-9675/index.md","name":"CVE-2024-9675","record":{"aliases":["ALSA-2024:8563","AZL-110330","BELL-CVE-2024-9675","CLEANSTART-2024-MU39108","CLSA-2025-1745426658","DEBIAN-CVE-2024-9675","GHSA-586p-749j-fhwp","GO-2024-3186","RHSA-2024:8563","RHSA-2024:8675","RHSA-2024:8679","RHSA-2024:8703","RHSA-2024:8707","RHSA-2024:8708","RHSA-2024:8709","RHSA-2024:8994","RLSA-2024:8563","SUSE-SU-2024:3728-1","UBUNTU-CVE-2024-9675","openSUSE-SU-2024:14405-1","openSUSE-SU-2024:14409-1"],"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":"Buildah container tool","requires_auth":"low_privilege","summary":"Attackers can mount arbitrary host directories into containers via malicious RUN instructions, enabling unauthorized host file access and modification.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"buildah","vendor":"buildah_project"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"enterprise_linux_eus","vendor":"redhat"},{"product":"enterprise_linux_for_arm_64","vendor":"redhat"},{"product":"enterprise_linux_for_arm_64_eus","vendor":"redhat"},{"product":"enterprise_linux_for_ibm_z_systems","vendor":"redhat"},{"product":"enterprise_linux_for_ibm_z_systems_eus","vendor":"redhat"},{"product":"enterprise_linux_for_power_little_endian","vendor":"redhat"},{"product":"enterprise_linux_for_power_little_endian_eus","vendor":"redhat"},{"product":"enterprise_linux_server_aus","vendor":"redhat"},{"product":"enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions","vendor":"redhat"},{"product":"enterprise_linux_server_tus","vendor":"redhat"},{"product":"enterprise_linux_update_services_for_sap_solutions","vendor":"redhat"},{"product":"openshift_container_platform","vendor":"redhat"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"A vulnerability was found in Buildah. Cache mounts do not properly validate that user-specified paths for the cache are within our cache directory, allowing a `RUN` instruction in a Container file to mount an arbitrary directory from the host (read/write) into the container as long as those files can be accessed by the user running Buildah.","ecosystems":["AlmaLinux:9","Go","Red Hat:enterprise_linux:9::appstream","Red Hat:openshift:4.15::el8","Red Hat:openshift:4.15::el9","Red Hat:rhel_aus:8.6::appstream","Red Hat:rhel_e4s:8.6::appstream","Red Hat:rhel_eus:8.8::appstream","Red Hat:rhel_eus:9.0::appstream","Red Hat:rhel_eus:9.2::appstream","Red Hat:rhel_tus:8.6::appstream","Rocky Linux:9","SUSE:Linux Enterprise Module for Containers 15 SP5","SUSE:Linux Enterprise Module for Containers 15 SP6","openSUSE:Leap 15.5","openSUSE:Leap 15.6","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":"Buildah: buildah allows arbitrary directory mount","id":"CVE-2024-9675","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":"redhat:enterprise_linux","products":["redhat:enterprise_linux","redhat:enterprise_linux_eus","redhat:enterprise_linux_for_ibm_z_systems","redhat:enterprise_linux_for_ibm_z_systems_eus","redhat:enterprise_linux_for_power_little_endian","redhat:enterprise_linux_for_power_little_endian_eus","redhat:enterprise_linux_server_aus","redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions","redhat:enterprise_linux_server_tus","redhat:openshift_container_platform"],"type":"path_traversal","year":"2024"},"n_packages":341,"n_references":26,"next":{"headline":"Path traversal in OpenShift Developer Tools and Services","id":"CVE-2024-9676"},"packages":[{"ecosystem":"Go","fixed":["1.37.1"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/buildah","purl":"pkg:golang/github.com/containers/buildah","source":"GO-2024-3186"},{"ecosystem":"Go","fixed":["1.38.0"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/buildah","purl":null,"source":"GHSA-586p-749j-fhwp"},{"ecosystem":"Go","fixed":["1.38.0"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/buildah","purl":"pkg:golang/github.com/containers/buildah","source":"GHSA-586p-749j-fhwp"},{"ecosystem":"AlmaLinux:9","fixed":["2:1.33.10-1.el9_4"],"introduced":["0"],"last_affected":[],"package":"buildah","purl":"pkg:rpm/almalinux/buildah","source":"ALSA-2024:8563"},{"ecosystem":"AlmaLinux:9","fixed":["2:1.33.10-1.el9_4"],"introduced":["0"],"last_affected":[],"package":"buildah-tests","purl":"pkg:rpm/almalinux/buildah-tests","source":"ALSA-2024:8563"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["2:1.33.10-1.el9_4"],"introduced":["0"],"last_affected":[],"package":"buildah","purl":"pkg:rpm/redhat/buildah","source":"RHSA-2024:8563"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["2:1.33.10-1.el9_4"],"introduced":["0"],"last_affected":[],"package":"buildah-debuginfo","purl":"pkg:rpm/redhat/buildah-debuginfo","source":"RHSA-2024:8563"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["2:1.33.10-1.el9_4"],"introduced":["0"],"last_affected":[],"package":"buildah-debugsource","purl":"pkg:rpm/redhat/buildah-debugsource","source":"RHSA-2024:8563"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["2:1.33.10-1.el9_4"],"introduced":["0"],"last_affected":[],"package":"buildah-tests","purl":"pkg:rpm/redhat/buildah-tests","source":"RHSA-2024:8563"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["2:1.33.10-1.el9_4"],"introduced":["0"],"last_affected":[],"package":"buildah-tests-debuginfo","purl":"pkg:rpm/redhat/buildah-tests-debuginfo","source":"RHSA-2024:8563"},{"ecosystem":"Red Hat:openshift:4.15::el8","fixed":["3:4.4.1-32.rhaos4.15.el8"],"introduced":["0"],"last_affected":[],"package":"podman","purl":"pkg:rpm/redhat/podman","source":"RHSA-2024:8994"},{"ecosystem":"Red Hat:openshift:4.15::el8","fixed":["3:4.4.1-32.rhaos4.15.el8"],"introduced":["0"],"last_affected":[],"package":"podman-catatonit","purl":"pkg:rpm/redhat/podman-catatonit","source":"RHSA-2024:8994"},{"ecosystem":"Red Hat:openshift:4.15::el8","fixed":["3:4.4.1-32.rhaos4.15.el8"],"introduced":["0"],"last_affected":[],"package":"podman-catatonit-debuginfo","purl":"pkg:rpm/redhat/podman-catatonit-debuginfo","source":"RHSA-2024:8994"},{"ecosystem":"Red Hat:openshift:4.15::el8","fixed":["3:4.4.1-32.rhaos4.15.el8"],"introduced":["0"],"last_affected":[],"package":"podman-debuginfo","purl":"pkg:rpm/redhat/podman-debuginfo","source":"RHSA-2024:8994"},{"ecosystem":"Red Hat:openshift:4.15::el8","fixed":["3:4.4.1-32.rhaos4.15.el8"],"introduced":["0"],"last_affected":[],"package":"podman-debugsource","purl":"pkg:rpm/redhat/podman-debugsource","source":"RHSA-2024:8994"},{"ecosystem":"Red Hat:openshift:4.15::el8","fixed":["3:4.4.1-32.rhaos4.15.el8"],"introduced":["0"],"last_affected":[],"package":"podman-docker","purl":"pkg:rpm/redhat/podman-docker","source":"RHSA-2024:8994"},{"ecosystem":"Red Hat:openshift:4.15::el8","fixed":["3:4.4.1-32.rhaos4.15.el8"],"introduced":["0"],"last_affected":[],"package":"podman-gvproxy","purl":"pkg:rpm/redhat/podman-gvproxy","source":"RHSA-2024:8994"},{"ecosystem":"Red Hat:openshift:4.15::el8","fixed":["3:4.4.1-32.rhaos4.15.el8"],"introduced":["0"],"last_affected":[],"package":"podman-gvproxy-debuginfo","purl":"pkg:rpm/redhat/podman-gvproxy-debuginfo","source":"RHSA-2024:8994"},{"ecosystem":"Red Hat:openshift:4.15::el8","fixed":["3:4.4.1-32.rhaos4.15.el8"],"introduced":["0"],"last_affected":[],"package":"podman-plugins","purl":"pkg:rpm/redhat/podman-plugins","source":"RHSA-2024:8994"},{"ecosystem":"Red Hat:openshift:4.15::el8","fixed":["3:4.4.1-32.rhaos4.15.el8"],"introduced":["0"],"last_affected":[],"package":"podman-plugins-debuginfo","purl":"pkg:rpm/redhat/podman-plugins-debuginfo","source":"RHSA-2024:8994"},{"ecosystem":"Red Hat:openshift:4.15::el8","fixed":["3:4.4.1-32.rhaos4.15.el8"],"introduced":["0"],"last_affected":[],"package":"podman-remote","purl":"pkg:rpm/redhat/podman-remote","source":"RHSA-2024:8994"},{"ecosystem":"Red Hat:openshift:4.15::el8","fixed":["3:4.4.1-32.rhaos4.15.el8"],"introduced":["0"],"last_affected":[],"package":"podman-remote-debuginfo","purl":"pkg:rpm/redhat/podman-remote-debuginfo","source":"RHSA-2024:8994"},{"ecosystem":"Red Hat:openshift:4.15::el8","fixed":["3:4.4.1-32.rhaos4.15.el8"],"introduced":["0"],"last_affected":[],"package":"podman-tests","purl":"pkg:rpm/redhat/podman-tests","source":"RHSA-2024:8994"},{"ecosystem":"Red Hat:openshift:4.15::el9","fixed":["3:4.4.1-32.rhaos4.15.el9"],"introduced":["0"],"last_affected":[],"package":"podman","purl":"pkg:rpm/redhat/podman","source":"RHSA-2024:8994"},{"ecosystem":"Red Hat:openshift:4.15::el9","fixed":["3:4.4.1-32.rhaos4.15.el9"],"introduced":["0"],"last_affected":[],"package":"podman-debuginfo","purl":"pkg:rpm/redhat/podman-debuginfo","source":"RHSA-2024:8994"},{"ecosystem":"Red Hat:openshift:4.15::el9","fixed":["3:4.4.1-32.rhaos4.15.el9"],"introduced":["0"],"last_affected":[],"package":"podman-debugsource","purl":"pkg:rpm/redhat/podman-debugsource","source":"RHSA-2024:8994"},{"ecosystem":"Red Hat:openshift:4.15::el9","fixed":["3:4.4.1-32.rhaos4.15.el9"],"introduced":["0"],"last_affected":[],"package":"podman-docker","purl":"pkg:rpm/redhat/podman-docker","source":"RHSA-2024:8994"},{"ecosystem":"Red Hat:openshift:4.15::el9","fixed":["3:4.4.1-32.rhaos4.15.el9"],"introduced":["0"],"last_affected":[],"package":"podman-gvproxy","purl":"pkg:rpm/redhat/podman-gvproxy","source":"RHSA-2024:8994"},{"ecosystem":"Red Hat:openshift:4.15::el9","fixed":["3:4.4.1-32.rhaos4.15.el9"],"introduced":["0"],"last_affected":[],"package":"podman-gvproxy-debuginfo","purl":"pkg:rpm/redhat/podman-gvproxy-debuginfo","source":"RHSA-2024:8994"},{"ecosystem":"Red Hat:openshift:4.15::el9","fixed":["3:4.4.1-32.rhaos4.15.el9"],"introduced":["0"],"last_affected":[],"package":"podman-plugins","purl":"pkg:rpm/redhat/podman-plugins","source":"RHSA-2024:8994"},{"ecosystem":"Red Hat:openshift:4.15::el9","fixed":["3:4.4.1-32.rhaos4.15.el9"],"introduced":["0"],"last_affected":[],"package":"podman-plugins-debuginfo","purl":"pkg:rpm/redhat/podman-plugins-debuginfo","source":"RHSA-2024:8994"},{"ecosystem":"Red Hat:openshift:4.15::el9","fixed":["3:4.4.1-32.rhaos4.15.el9"],"introduced":["0"],"last_affected":[],"package":"podman-remote","purl":"pkg:rpm/redhat/podman-remote","source":"RHSA-2024:8994"},{"ecosystem":"Red Hat:openshift:4.15::el9","fixed":["3:4.4.1-32.rhaos4.15.el9"],"introduced":["0"],"last_affected":[],"package":"podman-remote-debuginfo","purl":"pkg:rpm/redhat/podman-remote-debuginfo","source":"RHSA-2024:8994"},{"ecosystem":"Red Hat:openshift:4.15::el9","fixed":["3:4.4.1-32.rhaos4.15.el9"],"introduced":["0"],"last_affected":[],"package":"podman-tests","purl":"pkg:rpm/redhat/podman-tests","source":"RHSA-2024:8994"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["2:1.0.1-40.module+el8.6.0+22399+813f5137"],"introduced":["0"],"last_affected":[],"package":"aardvark-dns","purl":"pkg:rpm/redhat/aardvark-dns","source":"RHSA-2024:8703"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["1:1.26.8-1.module+el8.6.0+22399+813f5137"],"introduced":["0"],"last_affected":[],"package":"buildah","purl":"pkg:rpm/redhat/buildah","source":"RHSA-2024:8703"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["1:1.26.8-1.module+el8.6.0+22399+813f5137"],"introduced":["0"],"last_affected":[],"package":"buildah-debuginfo","purl":"pkg:rpm/redhat/buildah-debuginfo","source":"RHSA-2024:8703"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["1:1.26.8-1.module+el8.6.0+22399+813f5137"],"introduced":["0"],"last_affected":[],"package":"buildah-debugsource","purl":"pkg:rpm/redhat/buildah-debugsource","source":"RHSA-2024:8703"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["1:1.26.8-1.module+el8.6.0+22399+813f5137"],"introduced":["0"],"last_affected":[],"package":"buildah-tests","purl":"pkg:rpm/redhat/buildah-tests","source":"RHSA-2024:8703"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["1:1.26.8-1.module+el8.6.0+22399+813f5137"],"introduced":["0"],"last_affected":[],"package":"buildah-tests-debuginfo","purl":"pkg:rpm/redhat/buildah-tests-debuginfo","source":"RHSA-2024:8703"}],"prev":{"headline":"Cross-site scripting in Debrandify · Remove or Replace WordPress Branding","id":"CVE-2024-9674"},"products":["OpenShift Developer Tools and Services","Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support","Red Hat Enterprise Linux 8.6 Telecommunications Update Service","Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions","Red Hat Enterprise Linux 8.8 Extended Update Support","Red Hat Enterprise Linux 9","Red Hat Enterprise Linux 9.0 Extended Update Support","Red Hat Enterprise Linux 9.2 Extended Update Support","Red Hat OpenShift Container Platform 4","Red Hat OpenShift Container Platform 4.12","Red Hat OpenShift Container Platform 4.13","Red Hat OpenShift Container Platform 4.14","Red Hat OpenShift Container Platform 4.15","Red Hat OpenShift Container Platform 4.16","Red Hat OpenShift Container Platform 4.17","Red Hat OpenShift Container Platform 4.18","Red Hat Quay 3"],"published":"2024-10-09","related":[{"cvss_score":8.8,"headline":"Path Traversal in Buildah","id":"CVE-2020-10696","kev_date_added":null,"published":"2020-03-31"},{"cvss_score":7.1,"headline":"Buildah's incorrect handling of the supplementary groups may lead to data disclosure, modification","id":"CVE-2022-2990","kev_date_added":null,"published":"2022-09-13"},{"cvss_score":6.8,"headline":"Non-empty default inheritable capabilities for linux container in Buildah","id":"CVE-2022-27651","kev_date_added":null,"published":"2022-04-04"},{"cvss_score":6.4,"headline":"containers/image library Insufficiently Protects Credentials","id":"CVE-2019-10214","kev_date_added":null,"published":"2019-11-25"},{"cvss_score":5.5,"headline":"Buildah processes using chroot isolation may leak environment values to intermediate processes","id":"CVE-2021-3602","kev_date_added":null,"published":"2022-03-03"}],"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":"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-07","vendors":["Red Hat"]},"summary":"Attackers can mount arbitrary host directories into containers via malicious RUN instructions, enabling unauthorized host file access and modification.","url":"https://insights.sbomify.com/CVE-2024-9675/"}