{"answers":{"affected":"9 open source packages ship an affected version, including github.com/containers/buildah.","exploited":"There is no known exploitation of CVE-2024-11218 in the wild and no public exploit code.","fix":"Upgrade github.com/containers/buildah to a fixed version for your release line: 1.33.12, 1.35.5, 1.37.6 or 1.38.1.","what":"CVE-2024-11218 is a high-severity vulnerability in Red Hat Enterprise Linux 10, published on 22 Jan 2025. 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-11218 and fix it if it is affected.\n\nWhat it is: CVE-2024-11218 is a high-severity vulnerability in Red Hat Enterprise Linux 10, published on 22 Jan 2025. 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: There is no known exploitation of CVE-2024-11218 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.33.12, 1.35.5, 1.37.6, 1.38.1\n- github.com/containers/buildah (Go): affected all versions; fixed in 1.33.12\n- github.com/containers/buildah (Go): affected all versions; fixed in 1.33.12\n- github.com/containers/buildah (Go): affected from 1.35.0; fixed in 1.35.5\n- github.com/containers/buildah (Go): affected from 1.35.0; fixed in 1.35.5\n- github.com/containers/buildah (Go): affected from 1.37.0; fixed in 1.37.6\n- github.com/containers/buildah (Go): affected from 1.37.0; fixed in 1.37.6\n- github.com/containers/buildah (Go): affected from 1.38.0; fixed in 1.38.1\n- github.com/containers/buildah (Go): affected from 1.38.0; fixed in 1.38.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-2024-11218/ (Markdown: https://insights.sbomify.com/CVE-2024-11218/index.md)","id":"CVE-2024-11218","markdown":"https://insights.sbomify.com/CVE-2024-11218/index.md","name":"CVE-2024-11218","record":{"aliases":["ALSA-2025:0922","ALSA-2025:0923","ALSA-2025:1372","AZL-55942","AZL-55945","AZL-55953","AZL-55959","BELL-CVE-2024-11218","DEBIAN-CVE-2024-11218","GHSA-5vpc-35f4-r8w6","GO-2025-3414","RHSA-2025:0878","RHSA-2025:0922","RHSA-2025:0923","RHSA-2025:1186","RHSA-2025:1187","RHSA-2025:1188","RHSA-2025:1189","RHSA-2025:1207","RHSA-2025:1275","RHSA-2025:1295","RHSA-2025:1296","RHSA-2025:1372","RHSA-2025:1453","RHSA-2025:1713","RHSA-2025:1910","RHSA-2025:1914","RHSA-2025:2443","RHSA-2025:2456","RHSA-2025:2712","RLSA-2025:0922","RLSA-2025:0923","RLSA-2025:1372","SUSE-SU-2025:0301-1","SUSE-SU-2025:0382-1","UBUNTU-CVE-2024-11218","openSUSE-SU-2025:14689-1"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["privilege_escalation","data_read"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Podman Buildah","requires_auth":"none","summary":"Attackers can escape containers and read host files via a race condition in Podman/Buildah when using parallel jobs with malicious Containerfiles.","user_interaction":"required","vuln_class":"race_condition"},"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-269","name":"Improper Privilege Management"}],"description":"A vulnerability was found in `podman build` and `buildah.` This issue occurs in a container breakout by using --jobs=2 and a race condition when building a malicious Containerfile. SELinux might mitigate it, but even with SELinux on, it still allows the enumeration of files and directories on the host.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Go","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:9::appstream","Red Hat:openshift:4.12::el8","Red Hat:openshift:4.12::el9","Red Hat:openshift:4.14::el8","Red Hat:openshift:4.14::el9","Red Hat:openshift:4.15::el8","Red Hat:openshift:4.15::el9","Red Hat:openshift:4.16::el8","Red Hat:openshift:4.16::el9","Red Hat:openshift:4.17::el8","Red Hat:openshift:4.17::el9","Red Hat:rhel_aus:8.6::appstream","Red Hat:rhel_e4s:8.6::appstream","Red Hat:rhel_e4s:9.0::appstream","Red Hat:rhel_eus:8.8::appstream","Red Hat:rhel_eus:9.2::appstream","Red Hat:rhel_eus:9.4::appstream","Red Hat:rhel_tus:8.6::appstream","Rocky Linux:8","Rocky Linux:9","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Containers 15 SP6","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","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":"Podman: buildah: container breakout by using --jobs=2 and a race condition when building a malicious containerfile","id":"CVE-2024-11218","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"race_condition","year":"2024"},"n_packages":655,"n_references":32,"next":{"headline":"Path traversal in Otter Blocks – Gutenberg Blocks, Page Builder for Gutenberg Editor \u0026 FSE","id":"CVE-2024-11219"},"packages":[{"ecosystem":"Go","fixed":["1.33.12","1.35.5","1.37.6","1.38.1"],"introduced":["0","1.35.0","1.37.0","1.38.0"],"last_affected":[],"package":"github.com/containers/buildah","purl":"pkg:golang/github.com/containers/buildah","source":"GO-2025-3414"},{"ecosystem":"Go","fixed":["1.33.12"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/buildah","purl":null,"source":"GHSA-5vpc-35f4-r8w6"},{"ecosystem":"Go","fixed":["1.33.12"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/buildah","purl":"pkg:golang/github.com/containers/buildah","source":"GHSA-5vpc-35f4-r8w6"},{"ecosystem":"Go","fixed":["1.35.5"],"introduced":["1.35.0"],"last_affected":[],"package":"github.com/containers/buildah","purl":null,"source":"GHSA-5vpc-35f4-r8w6"},{"ecosystem":"Go","fixed":["1.35.5"],"introduced":["1.35.0"],"last_affected":[],"package":"github.com/containers/buildah","purl":"pkg:golang/github.com/containers/buildah","source":"GHSA-5vpc-35f4-r8w6"},{"ecosystem":"Go","fixed":["1.37.6"],"introduced":["1.37.0"],"last_affected":[],"package":"github.com/containers/buildah","purl":null,"source":"GHSA-5vpc-35f4-r8w6"},{"ecosystem":"Go","fixed":["1.37.6"],"introduced":["1.37.0"],"last_affected":[],"package":"github.com/containers/buildah","purl":"pkg:golang/github.com/containers/buildah","source":"GHSA-5vpc-35f4-r8w6"},{"ecosystem":"Go","fixed":["1.38.1"],"introduced":["1.38.0"],"last_affected":[],"package":"github.com/containers/buildah","purl":null,"source":"GHSA-5vpc-35f4-r8w6"},{"ecosystem":"Go","fixed":["1.38.1"],"introduced":["1.38.0"],"last_affected":[],"package":"github.com/containers/buildah","purl":"pkg:golang/github.com/containers/buildah","source":"GHSA-5vpc-35f4-r8w6"},{"ecosystem":"AlmaLinux:8","fixed":["2:1.10.1-2.module_el8.10.0+3901+4b80ecd7"],"introduced":["0"],"last_affected":[],"package":"aardvark-dns","purl":"pkg:rpm/almalinux/aardvark-dns","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["2:1.10.1-2.module_el8.10.0+3909+6e1c1eb7"],"introduced":["0"],"last_affected":[],"package":"aardvark-dns","purl":"pkg:rpm/almalinux/aardvark-dns","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["2:1.10.1-2.module_el8.10.0+3926+f12484f5"],"introduced":["0"],"last_affected":[],"package":"aardvark-dns","purl":"pkg:rpm/almalinux/aardvark-dns","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["2:1.33.12-1.module_el8.10.0+3959+b8dc5e6a"],"introduced":["0"],"last_affected":[],"package":"buildah","purl":"pkg:rpm/almalinux/buildah","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["2:1.33.12-1.module_el8.10.0+3959+b8dc5e6a"],"introduced":["0"],"last_affected":[],"package":"buildah-tests","purl":"pkg:rpm/almalinux/buildah-tests","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["84.1-1.module_el8.10.0+3876+e55593a8"],"introduced":["0"],"last_affected":[],"package":"cockpit-podman","purl":"pkg:rpm/almalinux/cockpit-podman","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["3:2.1.10-1.module_el8.10.0+3845+87b84552"],"introduced":["0"],"last_affected":[],"package":"conmon","purl":"pkg:rpm/almalinux/conmon","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["3:2.1.10-1.module_el8.10.0+3876+e55593a8"],"introduced":["0"],"last_affected":[],"package":"conmon","purl":"pkg:rpm/almalinux/conmon","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["3:2.1.10-1.module_el8.10.0+3901+4b80ecd7"],"introduced":["0"],"last_affected":[],"package":"conmon","purl":"pkg:rpm/almalinux/conmon","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["3:2.1.10-1.module_el8.10.0+3909+6e1c1eb7"],"introduced":["0"],"last_affected":[],"package":"conmon","purl":"pkg:rpm/almalinux/conmon","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["2:2.229.0-2.module_el8.10.0+3909+6e1c1eb7"],"introduced":["0"],"last_affected":[],"package":"container-selinux","purl":"pkg:rpm/almalinux/container-selinux","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.4.0-5.module_el8.10.0+3876+e55593a8"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins","purl":"pkg:rpm/almalinux/containernetworking-plugins","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.4.0-5.module_el8.10.0+3909+6e1c1eb7"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins","purl":"pkg:rpm/almalinux/containernetworking-plugins","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.4.0-5.module_el8.10.0+3926+f12484f5"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins","purl":"pkg:rpm/almalinux/containernetworking-plugins","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["2:1-82.module_el8.10.0+3876+e55593a8"],"introduced":["0"],"last_affected":[],"package":"containers-common","purl":"pkg:rpm/almalinux/containers-common","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["2:1-82.module_el8.10.0+3901+4b80ecd7"],"introduced":["0"],"last_affected":[],"package":"containers-common","purl":"pkg:rpm/almalinux/containers-common","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["3.18-5.module_el8.10.0+3845+87b84552"],"introduced":["0"],"last_affected":[],"package":"crit","purl":"pkg:rpm/almalinux/crit","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["3.18-5.module_el8.10.0+3858+6ad51f9f"],"introduced":["0"],"last_affected":[],"package":"crit","purl":"pkg:rpm/almalinux/crit","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["3.18-5.module_el8.10.0+3901+4b80ecd7"],"introduced":["0"],"last_affected":[],"package":"crit","purl":"pkg:rpm/almalinux/crit","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["3.18-5.module_el8.10.0+3876+e55593a8"],"introduced":["0"],"last_affected":[],"package":"criu","purl":"pkg:rpm/almalinux/criu","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["3.18-5.module_el8.10.0+3909+6e1c1eb7"],"introduced":["0"],"last_affected":[],"package":"criu","purl":"pkg:rpm/almalinux/criu","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["3.18-5.module_el8.10.0+3926+f12484f5"],"introduced":["0"],"last_affected":[],"package":"criu","purl":"pkg:rpm/almalinux/criu","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["3.18-5.module_el8.10.0+3858+6ad51f9f"],"introduced":["0"],"last_affected":[],"package":"criu-devel","purl":"pkg:rpm/almalinux/criu-devel","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["3.18-5.module_el8.10.0+3876+e55593a8"],"introduced":["0"],"last_affected":[],"package":"criu-devel","purl":"pkg:rpm/almalinux/criu-devel","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["3.18-5.module_el8.10.0+3926+f12484f5"],"introduced":["0"],"last_affected":[],"package":"criu-devel","purl":"pkg:rpm/almalinux/criu-devel","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["3.18-5.module_el8.10.0+3845+87b84552"],"introduced":["0"],"last_affected":[],"package":"criu-libs","purl":"pkg:rpm/almalinux/criu-libs","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["3.18-5.module_el8.10.0+3909+6e1c1eb7"],"introduced":["0"],"last_affected":[],"package":"criu-libs","purl":"pkg:rpm/almalinux/criu-libs","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["3.18-5.module_el8.10.0+3926+f12484f5"],"introduced":["0"],"last_affected":[],"package":"criu-libs","purl":"pkg:rpm/almalinux/criu-libs","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["1.14.3-2.module_el8.10.0+3845+87b84552"],"introduced":["0"],"last_affected":[],"package":"crun","purl":"pkg:rpm/almalinux/crun","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["1.14.3-2.module_el8.10.0+3909+6e1c1eb7"],"introduced":["0"],"last_affected":[],"package":"crun","purl":"pkg:rpm/almalinux/crun","source":"ALSA-2025:1372"},{"ecosystem":"AlmaLinux:8","fixed":["1.14.3-2.module_el8.10.0+3926+f12484f5"],"introduced":["0"],"last_affected":[],"package":"crun","purl":"pkg:rpm/almalinux/crun","source":"ALSA-2025:1372"}],"prev":{"headline":"Oauth-server-container: oauth-server-container logs client secret in debug level","id":"CVE-2024-11217"},"products":["Red Hat Enterprise Linux 10","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 Update Services for SAP Solutions","Red Hat Enterprise Linux 9.2 Extended Update Support","Red Hat Enterprise Linux 9.4 Extended Update Support","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"],"published":"2025-01-22","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":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-13","vendors":["Red Hat"]},"summary":"Attackers can escape containers and read host files via a race condition in Podman/Buildah when using parallel jobs with malicious Containerfiles.","url":"https://insights.sbomify.com/CVE-2024-11218/"}