Podman: buildah: container breakout by using --jobs=2 and a race condition when building a malicious containerfile
Summary
| CVE | CVE-2024-11218 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-01-22 05:15:08 UTC |
| Updated | 2026-06-25 03:16:27 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 8.6 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
EPSS: 0.003580000 probability, percentile 0.276820000 (date 2026-06-26)
Problem Types: CWE-269 | CWE-269 Improper Privilege Management
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 8.6 | HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| 3.1 | CNA | CVSS | 8.6 | HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
ChangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Red Hat | Red Hat Enterprise Linux 8 | unaffected 8100020250124120243.afee755d * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | unaffected 8060020250203202123.3b538bd8 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.6 Telecommunications Update Service | unaffected 8060020250203202123.3b538bd8 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.6 Update Services For SAP Solutions | unaffected 8060020250203202123.3b538bd8 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | unaffected 8080020250207173112.0f77c1b7 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 4:5.2.2-13.el9_5 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 2:1.37.6-1.el9_5 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9.0 Update Services For SAP Solutions | unaffected 2:4.2.0-6.el9_0 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9.0 Update Services For SAP Solutions | unaffected 1:1.26.9-1.el9_0 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | unaffected 1:1.29.5-1.el9_2 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | unaffected 2:4.4.1-22.el9_2 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | unaffected 2:1.33.12-2.el9_4 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | unaffected 4:4.9.4-17.el9_4 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.12 | unaffected 412.86.202503052321-0 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.12 | unaffected 3:4.2.0-13.rhaos4.12.el9 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.13 | unaffected 1:1.29.5-1.rhaos4.13.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.13 | unaffected 3:4.4.1-16.rhaos4.13.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.13 | unaffected 413.92.202503112237-0 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.14 | unaffected 3:4.4.1-22.rhaos4.14.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.14 | unaffected 1:1.29.5-1.rhaos4.14.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.14 | unaffected 414.92.202503100617-0 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.14 | unaffected 1:1.29.5-1.rhaos4.14.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.15 | unaffected 3:4.4.1-33.rhaos4.15.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.15 | unaffected 1:1.29.5-1.rhaos4.15.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.15 | unaffected 415.92.202503060749-0 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.15 | unaffected 1:1.29.5-1.rhaos4.15.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.16 | unaffected 4:4.9.4-13.rhaos4.16.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.16 | unaffected 2:1.33.12-1.rhaos4.16.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.16 | unaffected 416.94.202502180249-0 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.16 | unaffected 2:1.33.12-1.rhaos4.16.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.17 | unaffected 5:5.2.2-2.rhaos4.17.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.17 | unaffected 2:1.33.12-1.rhaos4.17.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.17 | unaffected 2:1.33.12-1.rhaos4.17.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.17 | unaffected 417.94.202504080421-0 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.18 | unaffected 2:1.33.12-1.rhaos4.18.el9 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.18 | unaffected 418.94.202504021150-0 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 10 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 10 | Not specified | Not specified |
| CNA | Red Hat | Red Hat In-Vehicle Operating System 1 | Not specified | Not specified |
| CNA | Red Hat | Red Hat In-Vehicle Operating System 1 | Not specified | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| access.redhat.com/errata/RHSA-2025:1910 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:2701 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:3577 | [email protected] | access.redhat.com | |
| bugzilla.redhat.com/show_bug.cgi | [email protected] | bugzilla.redhat.com | |
| access.redhat.com/errata/RHSA-2025:1186 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:1207 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:1707 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:0922 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:0830 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:1908 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:1188 | [email protected] | access.redhat.com | |
| github.com/containers/buildah/pull/5918 | [email protected] | github.com | |
| access.redhat.com/errata/RHSA-2025:2441 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:2454 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:2712 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:0878 | [email protected] | access.redhat.com | |
| access.redhat.com/security/cve/CVE-2024-11218 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:3798 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:1453 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:2703 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:1187 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:1275 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:1372 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:1296 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:1713 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:2710 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:1914 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:0923 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:2456 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:1295 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:2443 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:1189 | [email protected] | access.redhat.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2024-11-14T13:05:29.849Z | Reported to Red Hat. |
| CNA | 2025-01-20T00:00:00.000Z | Made public. |
Workarounds
CNA: 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.
There are currently no legacy QID mappings associated with this CVE.