Privilege Escalation in podman build and buildah
Summary
Vulnerability in podman build and buildah (CVE-2024-11218). Successful exploitation can lead to full system takeover. Exploitable via buildah..
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2024-11218 has been found in podman build and buildah.
Attackers can target a specific entry point like buildah. over the network to misuse the product.
Successful exploitation can lead to full system takeover. CVSS score: 8.6/10.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "podman build and buildah CVE-2024-11218" on the vendor's site.
CVE-2024-11218 (podman build and buildah) — CWE-269 / CVSS v3 8.6
Attack vector: local / unauthenticated
Attack surface: buildah.
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-269) exists in podman build and buildah. Attackers reach the vulnerable code path via buildah. without authentication.
Check the vendor advisory for the affected versions of podman build and buildah. Attack surface: buildah..
Severity: High (CVSS 8.6/10). Successful exploitation can lead to full system takeover.
Update to the patched release per vendor advisory.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで podman build and buildah を使っているサービスとバージョンを洗い出す。
-
2
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| GitHubbuildah |
< 1.33.12→ 1.33.12 ≥ 1.35.0, < 1.35.5→ 1.35.5 ≥ 1.37.0, < 1.37.6→ 1.37.6 ≥ 1.38.0, < 1.38.1→ 1.38.1 |
1.33.12 1.35.5 1.37.6 1.38.1 |
| Red HatRed Hat Enterprise Linux 8 | — | Not listed |
| Red HatRed Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | — | Not listed |
| Red HatRed Hat Enterprise Linux 8.6 Telecommunications Update Service | — | Not listed |
| Red HatRed Hat Enterprise Linux 8.6 Update Services for SAP Solutions | — | Not listed |
| Red HatRed Hat Enterprise Linux 8.8 Extended Update Support | — | Not listed |
| Red HatRed Hat Enterprise Linux 9 | — | Not listed |
| Red HatRed Hat Enterprise Linux 9.0 Update Services for SAP Solutions | — | Not listed |
| Red HatRed Hat Enterprise Linux 9.2 Extended Update Support | — | Not listed |
| Red HatRed Hat Enterprise Linux 9.4 Extended Update Support | — | Not listed |
| Red HatRed Hat OpenShift Container Platform 4.12 | — | Not listed |
| Red HatRed Hat OpenShift Container Platform 4.13 | — | Not listed |
| Red HatRed Hat OpenShift Container Platform 4.14 | — | Not listed |
| Red HatRed Hat OpenShift Container Platform 4.15 | — | Not listed |
| Red HatRed Hat OpenShift Container Platform 4.16 | — | Not listed |
| Red HatRed Hat OpenShift Container Platform 4.17 | — | Not listed |
| Red HatRed Hat OpenShift Container Platform 4.18 | — | Not listed |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Alpine Linux ALPINE-CVE-2024-11218 podman, buildah Fix available
- Debian DEBIAN-CVE-2024-11218 golang-github-containers-buildah Fix available
- Ubuntu UBUNTU-CVE-2024-11218 podman No fixed version in this record
Original description The description as published by the source.
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.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory github.com
- advisory nvd.nist.gov
- advisory access.redhat.com
- package github.com
- patch github.com
- report bugzilla.redhat.com
- web access.redhat.com
- web catalog.redhat.com