CVE-2024-11218

Podman: buildah: container breakout by using --jobs=2 and a race condition when building a malicious containerfile

Published Jan 22, 2025 CVSS 3.1 · 8.6 High EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Workaround

Mandatory access controls should limit the access of the process performing the build, on systems where they are enabled. SELinux enforces strict access controls by confining the build process (e.g., Podman) to specific domains like container_t. This prevents unauthorized access to sensitive host files and directories, even if a malicious Containerfile tries to exploit the --mount flag.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-0135 Buildah allows build breakout using malicious Containerfiles and concurrent builds
Github GHSA Github GHSA GHSA-5vpc-35f4-r8w6 Buildah allows build breakout using malicious Containerfiles and concurrent builds
References
Link Providers
https://access.redhat.com/errata/RHEA-2024:6126 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:0830 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:0878 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:0922 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:0923 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:1186 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:1187 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:1188 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:1189 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:1207 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:1275 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:1295 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:1296 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:1372 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:1453 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:1707 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:1713 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:1908 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:1910 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:1914 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:2441 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:2443 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:2454 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:2456 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:2701 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:2703 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:2710 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:2712 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:3577 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2025:3798 cve-icon cve-icon
https://access.redhat.com/security/cve/CVE-2024-11218 cve-icon cve-icon
https://bugzilla.redhat.com/show_bug.cgi?id=2326231 cve-icon cve-icon
https://github.com/containers/buildah/pull/5918 cve-icon cve-icon
https://nvd.nist.gov/vuln/detail/CVE-2024-11218 cve-icon
https://www.cve.org/CVERecord?id=CVE-2024-11218 cve-icon
History
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10 cpe:/a:redhat:enterprise_linux:10
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift_ironic:4.18::el9
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4
Type Values Removed Values Added
CPEs cpe:/o:redhat:rhivos:1
Vendors & Products Redhat rhivos
Type Values Removed Values Added
First Time appeared Redhat rhivos
CPEs cpe:/o:redhat:rhivos:1
Vendors & Products Redhat rhivos
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4
Type Values Removed Values Added
CPEs cpe:/o:redhat:rhivos:1
Vendors & Products Redhat rhivos
Type Values Removed Values Added
First Time appeared Redhat rhivos
CPEs cpe:/o:redhat:rhivos:1
Vendors & Products Redhat rhivos
References
Type Values Removed Values Added
Metrics epss

{'score': 0.0004}

epss

{'score': 0.00043}

Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.13::el8
cpe:/a:redhat:openshift:4.13::el9
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.12::el8
cpe:/a:redhat:openshift:4.12::el9
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.18::el8
cpe:/a:redhat:openshift:4.18::el9
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.15::el8
cpe:/a:redhat:openshift:4.15::el9
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.14::el8
cpe:/a:redhat:openshift:4.14::el9
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:8
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:8 cpe:/a:redhat:enterprise_linux:8::appstream
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:9
cpe:/a:redhat:rhel_aus:8.6
cpe:/a:redhat:rhel_e4s:8.6
cpe:/a:redhat:rhel_e4s:9.0
cpe:/a:redhat:rhel_eus:8.8
cpe:/a:redhat:rhel_eus:9.2
cpe:/a:redhat:rhel_eus:9.4
cpe:/a:redhat:rhel_tus:8.6
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:/a:redhat:rhel_eus:9.2::appstream
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:rhel_eus:8.8::appstream
References
Type Values Removed Values Added
First Time appeared Redhat rhel Aus
Redhat rhel Tus
CPEs cpe:/a:redhat:rhel_aus:8.6::appstream
cpe:/a:redhat:rhel_e4s:8.6::appstream
cpe:/a:redhat:rhel_tus:8.6::appstream
Vendors & Products Redhat rhel Aus
Redhat rhel Tus
References
Type Values Removed Values Added
First Time appeared Redhat openshift Ironic
CPEs cpe:/a:redhat:openshift:4.16::el8
cpe:/a:redhat:openshift:4.16::el9
cpe:/a:redhat:openshift_ironic:4.16::el9
Vendors & Products Redhat openshift Ironic
References
Type Values Removed Values Added
First Time appeared Redhat rhel Eus
CPEs cpe:/a:redhat:rhel_eus:9.4::appstream
Vendors & Products Redhat rhel Eus
References
Type Values Removed Values Added
First Time appeared Redhat rhel E4s
CPEs cpe:/a:redhat:rhel_e4s:9.0::appstream
Vendors & Products Redhat rhel E4s
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.17::el8
cpe:/a:redhat:openshift:4.17::el9
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:9::appstream
References
Type Values Removed Values Added
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.
Title Podman: buildah: container breakout by using --jobs=2 and a race condition when building a malicious containerfile
First Time appeared Redhat
Redhat enterprise Linux
Redhat openshift
Weaknesses CWE-269
CPEs cpe:/a:redhat:openshift:4
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat openshift
References
Metrics cvssV3_1

{'score': 8.6, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 4, 2026, 9:08 PM
Reserved
Nov 14, 2024, 1:11 PM
Status
Deferred
Published
Jan 22, 2025, 5:15 AM
Modified
Nov 4, 2026, 9:17 PM
Severity
Important
Public date
Jan 20, 2025, 12:00 AM