Skip to content
High 8.6

Privilege Escalation in podman build and buildah

CVE-2024-11218 First seen on SecPulse

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.

What is the problem

A vulnerability (CWE-269) exists in podman build and buildah. Attackers reach the vulnerable code path via buildah. without authentication.

Affected scope

Check the vendor advisory for the affected versions of podman build and buildah. Attack surface: buildah..

Severity

Severity: High (CVSS 8.6/10). Successful exploitation can lead to full system takeover.

How to fix

Update to the patched release per vendor advisory.

Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

Detection

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. 1
    Identify exposureidentify
    Audit SBOM/dependencies for affected components.

    資産台帳・SBOM・依存マニフェストで podman build and buildah を使っているサービスとバージョンを洗い出す。

  2. 2
    Post-deployment verificationverify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

PackageAffected → 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
Red HatRed Hat Enterprise Linux 8 —
Red HatRed Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support —
Red HatRed Hat Enterprise Linux 8.6 Telecommunications Update Service —
Red HatRed Hat Enterprise Linux 8.6 Update Services for SAP Solutions —
Red HatRed Hat Enterprise Linux 8.8 Extended Update Support —
Red HatRed Hat Enterprise Linux 9 —
Red HatRed Hat Enterprise Linux 9.0 Update Services for SAP Solutions —
Red HatRed Hat Enterprise Linux 9.2 Extended Update Support —
Red HatRed Hat Enterprise Linux 9.4 Extended Update Support —
Red HatRed Hat OpenShift Container Platform 4.12 —
Red HatRed Hat OpenShift Container Platform 4.13 —
Red HatRed Hat OpenShift Container Platform 4.14 —
Red HatRed Hat OpenShift Container Platform 4.15 —
Red HatRed Hat OpenShift Container Platform 4.16 —
Red HatRed Hat OpenShift Container Platform 4.17 —
Red HatRed Hat OpenShift Container Platform 4.18 —

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

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

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details