CVE-2024-1753
Buildah: buildah: container escape via improper bind mount validation
A flaw was found in Buildah (and subsequently Podman Build) which allows containers to mount arbitrary locations on the host filesystem into build containers. A malicious Containerfile can use a dummy image with a symbolic link to the root filesystem as a mount source and cause the mount operation to mount the host root filesystem inside the RUN step. The commands inside the RUN step will then have read-write access to the host filesystem, allowing for full container escape at build time.
Fixes and workarounds
Workaround
When SELinux is enabled, the container is restricted to limited read-only access.
Source: CNA: redhatFix
github.com/containers/podman/v4 (Go): OSV reports a fixed version 4.9.4. Check the advisory for supported release branches.
Source: OSV GHSA-874v-pj72-92f3Fix
github.com/containers/podman/v5 (Go): OSV reports a fixed version 5.0.1. Check the advisory for supported release branches.
Source: OSV GHSA-874v-pj72-92f3Fix
github.com/containers/buildah (Go): OSV reports a fixed version 1.35.1. Check the advisory for supported release branches.
Source: OSV GHSA-pmf3-c36m-g5cfFix
github.com/containers/buildah (Go): OSV reports a fixed version 1.34.3. Check the advisory for supported release branches.
Source: OSV GHSA-pmf3-c36m-g5cfFix
github.com/containers/buildah (Go): OSV reports a fixed version 1.33.7. Check the advisory for supported release branches.
Source: OSV GHSA-pmf3-c36m-g5cfFix
github.com/containers/buildah (Go): OSV reports a fixed version 1.27.4. Check the advisory for supported release branches.
Source: OSV GHSA-pmf3-c36m-g5cfFix
github.com/containers/buildah (Go): OSV reports a fixed version 1.24.7. Check the advisory for supported release branches.
Source: OSV GHSA-pmf3-c36m-g5cfFix
github.com/containers/buildah (Go): OSV reports a fixed version 1.29.3. Check the advisory for supported release branches.
Source: OSV GHSA-pmf3-c36m-g5cfFix
github.com/containers/buildah (Go): OSV reports a fixed version 1.31.5. Check the advisory for supported release branches.
Source: OSV GHSA-pmf3-c36m-g5cfFix
github.com/containers/buildah (Go): OSV reports a fixed version 1.32.3. Check the advisory for supported release branches.
Source: OSV GHSA-pmf3-c36m-g5cfAffected products and versions
| Product | Versions | Authority |
|---|---|---|
buildah
https://github.com/openshift/builder/ |
4.15.0 (affected)
Other versions: unaffected |
CNA: redhat |
| Red Hat Enterprise Linux 8 Red Hat container-tools:4.0
https://access.redhat.com/downloads/content/package-browser/ |
≥ 8090020240413110917.d7b6f4b7; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8 Red Hat container-tools:rhel8
https://access.redhat.com/downloads/content/package-browser/ |
≥ 8090020240417184044.e7857ab1; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8 Red Hat container-tools:rhel8
https://access.redhat.com/downloads/content/package-browser/ |
≥ 8100020240419145834.afee755d; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.6 Extended Update Support Red Hat container-tools:rhel8
https://access.redhat.com/downloads/content/package-browser/ |
≥ 8060020240422155330.3b538bd8; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.6 Extended Update Support Red Hat container-tools:4.0
https://access.redhat.com/downloads/content/package-browser/ |
≥ 8060020240419071711.2e213529; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.8 Extended Update Support Red Hat container-tools:rhel8
https://access.redhat.com/downloads/content/package-browser/ |
≥ 8080020240422101606.0f77c1b7; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9 Red Hat buildah
https://access.redhat.com/downloads/content/package-browser/ |
≥ 1:1.31.5-1.el9_3; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9 Red Hat podman
https://access.redhat.com/downloads/content/package-browser/ |
≥ 4:4.9.4-3.el9_4; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9.0 Extended Update Support Red Hat buildah
https://access.redhat.com/downloads/content/package-browser/ |
≥ 1:1.26.7-1.el9_0; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9.0 Extended Update Support Red Hat podman
https://access.redhat.com/downloads/content/package-browser/ |
≥ 2:4.2.0-3.el9_0; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9.2 Extended Update Support Red Hat buildah
https://access.redhat.com/downloads/content/package-browser/ |
≥ 1:1.29.3-1.el9_2; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9.2 Extended Update Support Red Hat podman
https://access.redhat.com/downloads/content/package-browser/ |
≥ 2:4.4.1-16.el9_2; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions Red Hat oci-seccomp-bpf-hook
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:1.2.10-1.el9_2.1; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions Red Hat podman
https://access.redhat.com/downloads/content/package-browser/ |
≥ 2:5.8.2-1.el9_2.1; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat OpenShift Container Platform 4.12 Red Hat podman
https://access.redhat.com/downloads/content/package-browser/ |
≥ 3:4.4.1-3.2.rhaos4.12.el8; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat OpenShift Container Platform 4.13 Red Hat podman
https://access.redhat.com/downloads/content/package-browser/ |
≥ 3:4.4.1-5.3.rhaos4.13.el8; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat OpenShift Container Platform 4.13 Red Hat podman
https://access.redhat.com/downloads/content/package-browser/ |
≥ 3:4.4.1-7.3.rhaos4.13.el8; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat OpenShift Container Platform 4.14 Red Hat podman
https://access.redhat.com/downloads/content/package-browser/ |
≥ 3:4.4.1-13.4.rhaos4.14.el8; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat OpenShift Container Platform 4.15 Red Hat podman
https://access.redhat.com/downloads/content/package-browser/ |
≥ 3:4.4.1-23.2.rhaos4.15.el8; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 7 Red Hat buildah
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unaffected |
CNA: redhat |
| Red Hat Enterprise Linux 7 Red Hat podman
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unknown |
CNA: redhat |
| Red Hat OpenShift Container Platform 3.11 Red Hat podman
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unknown |
CNA: redhat |
github.com/containers/podman/v4github.com/containers/podman/v4
Go |
≥ 0; < 4.9.4 (affected, semver); OSV events: introduced 0; fixed 4.9.4Source events (semver)
Other versions: unaffected |
OSV GHSA-874v-pj72-92f3 |
github.com/containers/podman/v5github.com/containers/podman/v5
Go |
≥ 0; < 5.0.1 (affected, semver); OSV events: introduced 0; fixed 5.0.1Source events (semver)
Other versions: unaffected |
OSV GHSA-874v-pj72-92f3 |
github.com/containers/buildahgithub.com/containers/buildah
Go |
≥ 1.35.0; < 1.35.1 (affected, semver); OSV events: introduced 1.35.0; fixed 1.35.1Source events (semver)
Other versions: unaffected |
OSV GHSA-pmf3-c36m-g5cf |
github.com/containers/buildahgithub.com/containers/buildah
Go |
≥ 1.34.0; < 1.34.3 (affected, semver); OSV events: introduced 1.34.0; fixed 1.34.3Source events (semver)
Other versions: unaffected |
OSV GHSA-pmf3-c36m-g5cf |
github.com/containers/buildahgithub.com/containers/buildah
Go |
≥ 1.33.0; < 1.33.7 (affected, semver); OSV events: introduced 1.33.0; fixed 1.33.7Source events (semver)
Other versions: unaffected |
OSV GHSA-pmf3-c36m-g5cf |
github.com/containers/buildahgithub.com/containers/buildah
Go |
≥ 1.25.0; < 1.27.4 (affected, semver); OSV events: introduced 1.25.0; fixed 1.27.4Source events (semver)
Other versions: unaffected |
OSV GHSA-pmf3-c36m-g5cf |
github.com/containers/buildahgithub.com/containers/buildah
Go |
≥ 1.24.0; < 1.24.7 (affected, semver); OSV events: introduced 1.24.0; fixed 1.24.7Source events (semver)
Other versions: unaffected |
OSV GHSA-pmf3-c36m-g5cf |
github.com/containers/buildahgithub.com/containers/buildah
Go |
≥ 1.28.0; < 1.29.3 (affected, semver); OSV events: introduced 1.28.0; fixed 1.29.3Source events (semver)
Other versions: unaffected |
OSV GHSA-pmf3-c36m-g5cf |
github.com/containers/buildahgithub.com/containers/buildah
Go |
≥ 1.30.0; < 1.31.5 (affected, semver); OSV events: introduced 1.30.0; fixed 1.31.5Source events (semver)
Other versions: unaffected |
OSV GHSA-pmf3-c36m-g5cf |
github.com/containers/buildahgithub.com/containers/buildah
Go |
≥ 1.32.0; < 1.32.3 (affected, semver); OSV events: introduced 1.32.0; fixed 1.32.3Source events (semver)
Other versions: unaffected |
OSV GHSA-pmf3-c36m-g5cf |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 8.6 high |
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H | CNA: redhat |
| 3.1 / 8.6 high |
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H | NVD: [email protected] |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://access.redhat.com/errata/RHSA-2024:2049CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:2055CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:2064CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:2066CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:2077CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:2084CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:2089CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:2090CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:2097CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:2098CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:2548CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:2645CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:2669CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:2672CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:2784CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:2877CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:3254CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:102524CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-1753CNA: redhat · vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2265513CNA: redhat · issue-tracking, x_refsource_REDHAT
- https://github.com/containers/buildah/security/advisories/GHSA-pmf3-c36m-g5cfCNA: redhat
- https://github.com/containers/podman/security/advisories/GHSA-874v-pj72-92f3CNA: redhat
- https://pkg.go.dev/vuln/GO-2024-2658CNA: redhat
- https://access.redhat.com/errata/RHSA-2024:2049ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/errata/RHSA-2024:2055ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/errata/RHSA-2024:2064ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/errata/RHSA-2024:2066ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/errata/RHSA-2024:2077ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/errata/RHSA-2024:2084ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/errata/RHSA-2024:2089ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/errata/RHSA-2024:2090ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/errata/RHSA-2024:2097ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/errata/RHSA-2024:2098ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/errata/RHSA-2024:2548ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/errata/RHSA-2024:2645ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/errata/RHSA-2024:2669ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/errata/RHSA-2024:2672ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/errata/RHSA-2024:2784ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/errata/RHSA-2024:2877ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/errata/RHSA-2024:3254ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/security/cve/CVE-2024-1753ADP: CVE · vdb-entry, x_refsource_REDHAT, x_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=2265513ADP: CVE · issue-tracking, x_refsource_REDHAT, x_transferred
- https://github.com/containers/buildah/security/advisories/GHSA-pmf3-c36m-g5cfADP: CVE · x_transferred
- https://github.com/containers/podman/security/advisories/GHSA-874v-pj72-92f3ADP: CVE · x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/FCRZVUDOFM5CPREQKBEU2VK2QK62PSBP/ADP: CVE · x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/KOYMVMQ7RWMDTSKQTBO734BE3WQPI2AJ/ADP: CVE · x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ZVBSVZGVABPYIHK5HZM472NPGWMI7WXH/ADP: CVE · x_transferred
- https://access.redhat.com/errata/RHSA-2024:2049[email protected]
- https://access.redhat.com/errata/RHSA-2024:2055[email protected]
- https://access.redhat.com/errata/RHSA-2024:2064[email protected]
- https://access.redhat.com/errata/RHSA-2024:2066[email protected]
- https://access.redhat.com/errata/RHSA-2024:2077[email protected]
- https://access.redhat.com/errata/RHSA-2024:2084[email protected]
- https://access.redhat.com/errata/RHSA-2024:2089[email protected]
- https://access.redhat.com/errata/RHSA-2024:2090[email protected]
- https://access.redhat.com/errata/RHSA-2024:2097[email protected]
- https://access.redhat.com/errata/RHSA-2024:2098[email protected]
- https://access.redhat.com/errata/RHSA-2024:2548[email protected]
- https://access.redhat.com/errata/RHSA-2024:2645[email protected]
- https://access.redhat.com/errata/RHSA-2024:2669[email protected]
- https://access.redhat.com/errata/RHSA-2024:2672[email protected]
- https://access.redhat.com/errata/RHSA-2024:2784[email protected]
- https://access.redhat.com/errata/RHSA-2024:2877[email protected]
- https://access.redhat.com/errata/RHSA-2024:3254[email protected]
- https://access.redhat.com/errata/RHSA-2026:102524[email protected]
- https://access.redhat.com/security/cve/CVE-2024-1753[email protected]
- https://bugzilla.redhat.com/show_bug.cgi?id=2265513[email protected]
- https://github.com/containers/buildah/security/advisories/GHSA-pmf3-c36m-g5cf[email protected]
- https://github.com/containers/podman/security/advisories/GHSA-874v-pj72-92f3[email protected]
- https://pkg.go.dev/vuln/GO-2024-2658[email protected]
- https://access.redhat.com/errata/RHSA-2024:2049af854a3a-2127-422b-91ae-364da2661108
- https://access.redhat.com/errata/RHSA-2024:2055af854a3a-2127-422b-91ae-364da2661108
- https://access.redhat.com/errata/RHSA-2024:2064af854a3a-2127-422b-91ae-364da2661108
- https://access.redhat.com/errata/RHSA-2024:2066af854a3a-2127-422b-91ae-364da2661108
- https://access.redhat.com/errata/RHSA-2024:2077af854a3a-2127-422b-91ae-364da2661108
- https://access.redhat.com/errata/RHSA-2024:2084af854a3a-2127-422b-91ae-364da2661108
- https://access.redhat.com/errata/RHSA-2024:2089af854a3a-2127-422b-91ae-364da2661108
- https://access.redhat.com/errata/RHSA-2024:2090af854a3a-2127-422b-91ae-364da2661108
- https://access.redhat.com/errata/RHSA-2024:2097af854a3a-2127-422b-91ae-364da2661108
- https://access.redhat.com/errata/RHSA-2024:2098af854a3a-2127-422b-91ae-364da2661108
- https://access.redhat.com/errata/RHSA-2024:2548af854a3a-2127-422b-91ae-364da2661108
- https://access.redhat.com/errata/RHSA-2024:2645af854a3a-2127-422b-91ae-364da2661108
- https://access.redhat.com/errata/RHSA-2024:2669af854a3a-2127-422b-91ae-364da2661108
- https://access.redhat.com/errata/RHSA-2024:2672af854a3a-2127-422b-91ae-364da2661108
- https://access.redhat.com/errata/RHSA-2024:2784af854a3a-2127-422b-91ae-364da2661108
- https://access.redhat.com/errata/RHSA-2024:2877af854a3a-2127-422b-91ae-364da2661108
- https://access.redhat.com/errata/RHSA-2024:3254af854a3a-2127-422b-91ae-364da2661108
- https://access.redhat.com/security/cve/CVE-2024-1753af854a3a-2127-422b-91ae-364da2661108
- https://bugzilla.redhat.com/show_bug.cgi?id=2265513af854a3a-2127-422b-91ae-364da2661108
- https://github.com/containers/buildah/security/advisories/GHSA-pmf3-c36m-g5cfaf854a3a-2127-422b-91ae-364da2661108
- https://github.com/containers/podman/security/advisories/GHSA-874v-pj72-92f3af854a3a-2127-422b-91ae-364da2661108
- https://lists.fedoraproject.org/archives/list/[email protected]/message/FCRZVUDOFM5CPREQKBEU2VK2QK62PSBP/af854a3a-2127-422b-91ae-364da2661108
- https://lists.fedoraproject.org/archives/list/[email protected]/message/KOYMVMQ7RWMDTSKQTBO734BE3WQPI2AJ/af854a3a-2127-422b-91ae-364da2661108
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ZVBSVZGVABPYIHK5HZM472NPGWMI7WXH/af854a3a-2127-422b-91ae-364da2661108
- https://github.com/advisories/GHSA-874v-pj72-92f3OSV / GitHub Security Advisories · advisory
- https://osv.dev/vulnerability/GHSA-874v-pj72-92f3OSV / GitHub Security Advisories · osv
- https://github.com/advisories/GHSA-pmf3-c36m-g5cfOSV / GitHub Security Advisories · advisory
- https://osv.dev/vulnerability/GHSA-pmf3-c36m-g5cfOSV / GitHub Security Advisories · osv
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.