Public vulnerability disclosure

CVE-2024-1753

Buildah: buildah: container escape via improper bind mount validation

publishedCWE-59

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.

Technical severity8.6 highCVSS 3.1 · CNA: redhat
Published2024-03-18Source updated 2026-11-26
Collected2026-11-264 attributed sources

Fixes and workarounds

Workaround

When SELinux is enabled, the container is restricted to limited read-only access.

Source: CNA: redhat

Fix

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-92f3

Fix

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-92f3

Fix

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-g5cf

Fix

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-g5cf

Fix

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-g5cf

Fix

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-g5cf

Fix

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-g5cf

Fix

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-g5cf

Fix

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-g5cf

Fix

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-g5cf

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority


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/v4

github.com/containers/podman/v4
Go
≥ 0; < 4.9.4 (affected, semver); OSV events: introduced 0; fixed 4.9.4
Source events (semver)
[
  {
    "introduced": "0"
  },
  {
    "fixed": "4.9.4"
  }
]

Other versions: unaffected
OSV GHSA-874v-pj72-92f3
github.com/containers/podman/v5

github.com/containers/podman/v5
Go
≥ 0; < 5.0.1 (affected, semver); OSV events: introduced 0; fixed 5.0.1
Source events (semver)
[
  {
    "introduced": "0"
  },
  {
    "fixed": "5.0.1"
  }
]

Other versions: unaffected
OSV GHSA-874v-pj72-92f3
github.com/containers/buildah

github.com/containers/buildah
Go
≥ 1.35.0; < 1.35.1 (affected, semver); OSV events: introduced 1.35.0; fixed 1.35.1
Source events (semver)
[
  {
    "introduced": "1.35.0"
  },
  {
    "fixed": "1.35.1"
  }
]

Other versions: unaffected
OSV GHSA-pmf3-c36m-g5cf
github.com/containers/buildah

github.com/containers/buildah
Go
≥ 1.34.0; < 1.34.3 (affected, semver); OSV events: introduced 1.34.0; fixed 1.34.3
Source events (semver)
[
  {
    "introduced": "1.34.0"
  },
  {
    "fixed": "1.34.3"
  }
]

Other versions: unaffected
OSV GHSA-pmf3-c36m-g5cf
github.com/containers/buildah

github.com/containers/buildah
Go
≥ 1.33.0; < 1.33.7 (affected, semver); OSV events: introduced 1.33.0; fixed 1.33.7
Source events (semver)
[
  {
    "introduced": "1.33.0"
  },
  {
    "fixed": "1.33.7"
  }
]

Other versions: unaffected
OSV GHSA-pmf3-c36m-g5cf
github.com/containers/buildah

github.com/containers/buildah
Go
≥ 1.25.0; < 1.27.4 (affected, semver); OSV events: introduced 1.25.0; fixed 1.27.4
Source events (semver)
[
  {
    "introduced": "1.25.0"
  },
  {
    "fixed": "1.27.4"
  }
]

Other versions: unaffected
OSV GHSA-pmf3-c36m-g5cf
github.com/containers/buildah

github.com/containers/buildah
Go
≥ 1.24.0; < 1.24.7 (affected, semver); OSV events: introduced 1.24.0; fixed 1.24.7
Source events (semver)
[
  {
    "introduced": "1.24.0"
  },
  {
    "fixed": "1.24.7"
  }
]

Other versions: unaffected
OSV GHSA-pmf3-c36m-g5cf
github.com/containers/buildah

github.com/containers/buildah
Go
≥ 1.28.0; < 1.29.3 (affected, semver); OSV events: introduced 1.28.0; fixed 1.29.3
Source events (semver)
[
  {
    "introduced": "1.28.0"
  },
  {
    "fixed": "1.29.3"
  }
]

Other versions: unaffected
OSV GHSA-pmf3-c36m-g5cf
github.com/containers/buildah

github.com/containers/buildah
Go
≥ 1.30.0; < 1.31.5 (affected, semver); OSV events: introduced 1.30.0; fixed 1.31.5
Source events (semver)
[
  {
    "introduced": "1.30.0"
  },
  {
    "fixed": "1.31.5"
  }
]

Other versions: unaffected
OSV GHSA-pmf3-c36m-g5cf
github.com/containers/buildah

github.com/containers/buildah
Go
≥ 1.32.0; < 1.32.3 (affected, semver); OSV events: introduced 1.32.0; fixed 1.32.3
Source events (semver)
[
  {
    "introduced": "1.32.0"
  },
  {
    "fixed": "1.32.3"
  }
]

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

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 8.6
high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HCNA: redhat
3.1 / 8.6
high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HNVD: [email protected]

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

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/cves
https://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.

Agent access JSON · OpenAPI · CVE API guide