CVE-2024-11218
Buildah allows build breakout using malicious Containerfiles and concurrent builds
Reported by redhat · Published January 22, 2025
github.com/containers/buildah is fixed in 1.38.1, 1.37.6, 1.35.5 and 1 more (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/containers/buildah | Go Modules | 1.38.1, 1.37.6, 1.35.5, 1.33.12 |
| buildah | GitHub Packages | 1.38.1, 1.37.6, 1.35.5, 1.33.12 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| 0, 1.35.0, 1.37.0 | ||
| Red Hat | Red Hat Enterprise Linux 8 | 8100020250124120243.afee755d |
| Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | 8060020250203202123.3b538bd8 |
| Red Hat | Red Hat Enterprise Linux 8.6 Telecommunications Update Service | 8060020250203202123.3b538bd8 |
| Red Hat | Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | 8060020250203202123.3b538bd8 |
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | 8080020250207173112.0f77c1b7 |
| Red Hat | Red Hat Enterprise Linux 9 | 4:5.2.2-13.el9_5 |
| Red Hat | Red Hat Enterprise Linux 9 | 2:1.37.6-1.el9_5 |
| Red Hat | Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | 2:4.2.0-6.el9_0 |
| Red Hat | Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | 1:1.26.9-1.el9_0 |
| Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | 1:1.29.5-1.el9_2 |
| Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | 2:4.4.1-22.el9_2 |
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | 2:1.33.12-2.el9_4 |
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | 4:4.9.4-17.el9_4 |
| Red Hat | Red Hat OpenShift Container Platform 4.12 | 412.86.202503052321-0 |
| Red Hat | Red Hat OpenShift Container Platform 4.12 | 3:4.2.0-13.rhaos4.12.el9 |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | 1:1.29.5-1.rhaos4.13.el8 |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | 3:4.4.1-16.rhaos4.13.el8 |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | 413.92.202503112237-0 |
| Red Hat | Red Hat OpenShift Container Platform 4.14 | 3:4.4.1-22.rhaos4.14.el8 |
…and 551 more
Timeline
- Jan 21, 2025 CVE Published
- Jan 21, 2025 Fix PR Merged
- Jan 22, 2025 EPSS Score (30 in total, the first dated here)
- Jan 22, 2025 Coalition ESS Score (27 in total, the first dated here)
- Jan 22, 2025 PoC Published (21 in total, the first dated here)
- Jan 21, 2026 CVE Updated
- Apr 26, 2026 Security Advisory (33 in total, the first dated here)
- Aug 10, 2026 Distribution Patch (30 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-11218
vulnetix vdb fixes CVE-2024-11218
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-11218/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHEA-2024:6126 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:0830 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:0878 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:0922 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:0923 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:1186 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:1187 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:1188 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:1189 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:1207 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:1275 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:1295 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:1296 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:1372 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:1453 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:1707 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:1713 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:1908 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:1910 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:1914 vendor-advisoryx_refsource_REDHAT
…and 13 more