{"answers":{"affected":"21 open source packages ship an affected version, including github.com/containers/buildah, github.com/containers/podman/v4 and github.com/containers/podman/v5.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-1753 exists.","fix":"Upgrade github.com/containers/buildah to a fixed version for your release line: 1.35.1, 1.24.7, 1.27.4 or 1.29.3.","what":"CVE-2024-1753 is a high-severity path traversal vulnerability in Red Hat Enterprise Linux 7, published on 18 Mar 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-1753 and fix it if it is affected.\n\nWhat it is: CVE-2024-1753 is a high-severity path traversal vulnerability in Red Hat Enterprise Linux 7, published on 18 Mar 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-1753 exists.\n\nAffected packages and fixed versions:\n- github.com/containers/buildah (Go): affected all versions; fixed in 1.35.1\n- github.com/containers/buildah (Go): affected from 1.24.0; fixed in 1.24.7\n- github.com/containers/buildah (Go): affected from 1.24.0; fixed in 1.24.7\n- github.com/containers/buildah (Go): affected from 1.25.0; fixed in 1.27.4\n- github.com/containers/buildah (Go): affected from 1.25.0; fixed in 1.27.4\n- github.com/containers/buildah (Go): affected from 1.28.0; fixed in 1.29.3\n- github.com/containers/buildah (Go): affected from 1.28.0; fixed in 1.29.3\n- github.com/containers/buildah (Go): affected from 1.30.0; fixed in 1.31.5\n- github.com/containers/buildah (Go): affected from 1.30.0; fixed in 1.31.5\n- github.com/containers/buildah (Go): affected from 1.32.0; fixed in 1.32.3\n- github.com/containers/buildah (Go): affected from 1.32.0; fixed in 1.32.3\n- github.com/containers/buildah (Go): affected from 1.33.0; fixed in 1.33.7\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-1753/ (Markdown: https://insights.sbomify.com/CVE-2024-1753/index.md)","id":"CVE-2024-1753","markdown":"https://insights.sbomify.com/CVE-2024-1753/index.md","name":"CVE-2024-1753","record":{"aliases":["ALSA-2024:2055","ALSA-2024:2084","ALSA-2024:2098","AZL-36899","AZL-42506","AZL-42509","AZL-42546","AZL-42561","BELL-CVE-2024-1753","CLEANSTART-2024-XJ51471","DEBIAN-CVE-2024-1753","GHSA-874v-pj72-92f3","GHSA-pmf3-c36m-g5cf","GO-2024-2658","RHSA-2024:2055","RHSA-2024:2064","RHSA-2024:2066","RHSA-2024:2084","RHSA-2024:2089","RHSA-2024:2090","RHSA-2024:2097","RHSA-2024:2098","RHSA-2024:2645","RLSA-2024:2084","RLSA-2024:2098","SUSE-SU-2024:1058-1","SUSE-SU-2024:1059-1","SUSE-SU-2024:1142-1","SUSE-SU-2024:1143-1","SUSE-SU-2024:1144-1","SUSE-SU-2024:1145-1","SUSE-SU-2024:1146-1","UBUNTU-CVE-2024-1753","openSUSE-SU-2024:13784-1","openSUSE-SU-2024:13826-1"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Buildah container tool","requires_auth":"none","summary":"Attackers can escape containers during build time by mounting the host filesystem via symbolic links, gaining read-write access to the host.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"description":"A flaw was found in Buildah (and subsequently Podman Build) which allows containers to mount arbitrary locations on the host filesystem into build containers. A malicious Containerfile can use a dummy image with a symbolic link to the root filesystem as a mount source and cause the mount operation to mount the host root filesystem inside the RUN step. The commands inside the RUN step will then have read-write access to the host filesystem, allowing for full container escape at build time.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Go","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:9::appstream","Red Hat:rhel_eus:8.6::appstream","Red Hat:rhel_eus:9.0::appstream","Red Hat:rhel_eus:9.2::appstream","Rocky Linux:8","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Containers 15 SP5","SUSE:Linux Enterprise Module for Public Cloud 15 SP2","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","openSUSE:Leap 15.5","openSUSE:Leap Micro 5.3","openSUSE:Leap Micro 5.4","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Buildah: buildah: container escape via improper bind mount validation","id":"CVE-2024-1753","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":522,"n_references":22,"next":{"headline":"NPS computy \u003c= 2.7.5 - Admin+ Stored XSS","id":"CVE-2024-1754"},"packages":[{"ecosystem":"Go","fixed":["1.35.1"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/buildah","purl":"pkg:golang/github.com/containers/buildah","source":"GO-2024-2658"},{"ecosystem":"Go","fixed":["1.24.7"],"introduced":["1.24.0"],"last_affected":[],"package":"github.com/containers/buildah","purl":null,"source":"GHSA-pmf3-c36m-g5cf"},{"ecosystem":"Go","fixed":["1.24.7"],"introduced":["1.24.0"],"last_affected":[],"package":"github.com/containers/buildah","purl":"pkg:golang/github.com/containers/buildah","source":"GHSA-pmf3-c36m-g5cf"},{"ecosystem":"Go","fixed":["1.27.4"],"introduced":["1.25.0"],"last_affected":[],"package":"github.com/containers/buildah","purl":null,"source":"GHSA-pmf3-c36m-g5cf"},{"ecosystem":"Go","fixed":["1.27.4"],"introduced":["1.25.0"],"last_affected":[],"package":"github.com/containers/buildah","purl":"pkg:golang/github.com/containers/buildah","source":"GHSA-pmf3-c36m-g5cf"},{"ecosystem":"Go","fixed":["1.29.3"],"introduced":["1.28.0"],"last_affected":[],"package":"github.com/containers/buildah","purl":null,"source":"GHSA-pmf3-c36m-g5cf"},{"ecosystem":"Go","fixed":["1.29.3"],"introduced":["1.28.0"],"last_affected":[],"package":"github.com/containers/buildah","purl":"pkg:golang/github.com/containers/buildah","source":"GHSA-pmf3-c36m-g5cf"},{"ecosystem":"Go","fixed":["1.31.5"],"introduced":["1.30.0"],"last_affected":[],"package":"github.com/containers/buildah","purl":null,"source":"GHSA-pmf3-c36m-g5cf"},{"ecosystem":"Go","fixed":["1.31.5"],"introduced":["1.30.0"],"last_affected":[],"package":"github.com/containers/buildah","purl":"pkg:golang/github.com/containers/buildah","source":"GHSA-pmf3-c36m-g5cf"},{"ecosystem":"Go","fixed":["1.32.3"],"introduced":["1.32.0"],"last_affected":[],"package":"github.com/containers/buildah","purl":null,"source":"GHSA-pmf3-c36m-g5cf"},{"ecosystem":"Go","fixed":["1.32.3"],"introduced":["1.32.0"],"last_affected":[],"package":"github.com/containers/buildah","purl":"pkg:golang/github.com/containers/buildah","source":"GHSA-pmf3-c36m-g5cf"},{"ecosystem":"Go","fixed":["1.33.7"],"introduced":["1.33.0"],"last_affected":[],"package":"github.com/containers/buildah","purl":null,"source":"GHSA-pmf3-c36m-g5cf"},{"ecosystem":"Go","fixed":["1.33.7"],"introduced":["1.33.0"],"last_affected":[],"package":"github.com/containers/buildah","purl":"pkg:golang/github.com/containers/buildah","source":"GHSA-pmf3-c36m-g5cf"},{"ecosystem":"Go","fixed":["1.34.3"],"introduced":["1.34.0"],"last_affected":[],"package":"github.com/containers/buildah","purl":null,"source":"GHSA-pmf3-c36m-g5cf"},{"ecosystem":"Go","fixed":["1.34.3"],"introduced":["1.34.0"],"last_affected":[],"package":"github.com/containers/buildah","purl":"pkg:golang/github.com/containers/buildah","source":"GHSA-pmf3-c36m-g5cf"},{"ecosystem":"Go","fixed":["1.35.1"],"introduced":["1.35.0"],"last_affected":[],"package":"github.com/containers/buildah","purl":null,"source":"GHSA-pmf3-c36m-g5cf"},{"ecosystem":"Go","fixed":["1.35.1"],"introduced":["1.35.0"],"last_affected":[],"package":"github.com/containers/buildah","purl":"pkg:golang/github.com/containers/buildah","source":"GHSA-pmf3-c36m-g5cf"},{"ecosystem":"Go","fixed":["4.9.4"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman/v4","purl":null,"source":"GHSA-874v-pj72-92f3"},{"ecosystem":"Go","fixed":["4.9.4"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman/v4","purl":"pkg:golang/github.com/containers/podman/v4","source":"GHSA-874v-pj72-92f3"},{"ecosystem":"Go","fixed":["5.0.1"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman/v5","purl":null,"source":"GHSA-874v-pj72-92f3"},{"ecosystem":"Go","fixed":["5.0.1"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman/v5","purl":"pkg:golang/github.com/containers/podman/v5","source":"GHSA-874v-pj72-92f3"},{"ecosystem":"AlmaLinux:8","fixed":["2:1.0.1-38.module_el8.9.0+3627+db8ec155"],"introduced":["0"],"last_affected":[],"package":"aardvark-dns","purl":"pkg:rpm/almalinux/aardvark-dns","source":"ALSA-2024:2084"},{"ecosystem":"AlmaLinux:8","fixed":["2:1.0.1-38.module_el8.9.0+3821+d7d58347"],"introduced":["0"],"last_affected":[],"package":"aardvark-dns","purl":"pkg:rpm/almalinux/aardvark-dns","source":"ALSA-2024:2084"},{"ecosystem":"AlmaLinux:8","fixed":["2:1.7.0-1.module_el8.9.0+3657+d86e192f"],"introduced":["0"],"last_affected":[],"package":"aardvark-dns","purl":"pkg:rpm/almalinux/aardvark-dns","source":"ALSA-2024:2098"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.24.7-1.module_el8.9.0+3821+d7d58347.alma.1"],"introduced":["0"],"last_affected":[],"package":"buildah","purl":"pkg:rpm/almalinux/buildah","source":"ALSA-2024:2084"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.31.5-1.module_el8.9.0+3823+03810114"],"introduced":["0"],"last_affected":[],"package":"buildah","purl":"pkg:rpm/almalinux/buildah","source":"ALSA-2024:2098"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.24.7-1.module_el8.9.0+3821+d7d58347.alma.1"],"introduced":["0"],"last_affected":[],"package":"buildah-tests","purl":"pkg:rpm/almalinux/buildah-tests","source":"ALSA-2024:2084"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.31.5-1.module_el8.9.0+3823+03810114"],"introduced":["0"],"last_affected":[],"package":"buildah-tests","purl":"pkg:rpm/almalinux/buildah-tests","source":"ALSA-2024:2098"},{"ecosystem":"AlmaLinux:8","fixed":["46-1.module_el8.7.0+3344+5bcd850f"],"introduced":["0"],"last_affected":[],"package":"cockpit-podman","purl":"pkg:rpm/almalinux/cockpit-podman","source":"ALSA-2024:2084"},{"ecosystem":"AlmaLinux:8","fixed":["75-1.module_el8.9.0+3797+9f808d65"],"introduced":["0"],"last_affected":[],"package":"cockpit-podman","purl":"pkg:rpm/almalinux/cockpit-podman","source":"ALSA-2024:2098"},{"ecosystem":"AlmaLinux:8","fixed":["2:2.1.4-2.module_el8.9.0+3627+db8ec155"],"introduced":["0"],"last_affected":[],"package":"conmon","purl":"pkg:rpm/almalinux/conmon","source":"ALSA-2024:2084"},{"ecosystem":"AlmaLinux:8","fixed":["2:2.1.4-2.module_el8.9.0+3821+d7d58347"],"introduced":["0"],"last_affected":[],"package":"conmon","purl":"pkg:rpm/almalinux/conmon","source":"ALSA-2024:2084"},{"ecosystem":"AlmaLinux:8","fixed":["3:2.1.8-1.module_el8.9.0+3755+bc5f21db"],"introduced":["0"],"last_affected":[],"package":"conmon","purl":"pkg:rpm/almalinux/conmon","source":"ALSA-2024:2098"},{"ecosystem":"AlmaLinux:8","fixed":["2:2.205.0-3.module_el8.9.0+3687+dcd7ef8f"],"introduced":["0"],"last_affected":[],"package":"container-selinux","purl":"pkg:rpm/almalinux/container-selinux","source":"ALSA-2024:2084"},{"ecosystem":"AlmaLinux:8","fixed":["2:2.229.0-1.module_el8.9.0+3755+bc5f21db"],"introduced":["0"],"last_affected":[],"package":"container-selinux","purl":"pkg:rpm/almalinux/container-selinux","source":"ALSA-2024:2098"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.1.1-6.module_el8.9.0+3711+04fcca5e"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins","purl":"pkg:rpm/almalinux/containernetworking-plugins","source":"ALSA-2024:2084"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.1.1-6.module_el8.9.0+3821+d7d58347"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins","purl":"pkg:rpm/almalinux/containernetworking-plugins","source":"ALSA-2024:2084"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.3.0-8.module_el8.9.0+3717+81096349"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins","purl":"pkg:rpm/almalinux/containernetworking-plugins","source":"ALSA-2024:2098"},{"ecosystem":"AlmaLinux:8","fixed":["2:1-38.module_el8.9.0+3627+db8ec155"],"introduced":["0"],"last_affected":[],"package":"containers-common","purl":"pkg:rpm/almalinux/containers-common","source":"ALSA-2024:2084"},{"ecosystem":"AlmaLinux:8","fixed":["2:1-38.module_el8.9.0+3821+d7d58347"],"introduced":["0"],"last_affected":[],"package":"containers-common","purl":"pkg:rpm/almalinux/containers-common","source":"ALSA-2024:2084"}],"prev":{"headline":"Font Farsi \u003c= 1.6.6 - Admin+ Stored XSS in Settings","id":"CVE-2024-1752"},"products":["Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 8.6 Extended Update Support","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 3.11","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"],"published":"2024-03-18","related":[],"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":"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":"2026-09-24","vendors":["Red Hat"]},"summary":"Attackers can escape containers during build time by mounting the host filesystem via symbolic links, gaining read-write access to the host.","url":"https://insights.sbomify.com/CVE-2024-1753/"}