Buildah: buildah: container escape via improper bind mount validation

Summary

CVECVE-2024-1753
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-03-18 15:15:41 UTC
Updated2026-09-25 00:16:56 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 8.6 HIGH from [email protected]

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

EPSS: 0.004900000 probability, percentile 0.397070000 (date 2026-09-27)

Problem Types: CWE-59 | CWE-59 Improper Link Resolution Before File Access ('Link Following')


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary8.6HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
3.1CNACVSS8.6HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 8090020240413110917.d7b6f4b7 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 8090020240417184044.e7857ab1 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 8100020240419145834.afee755d * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support unaffected 8060020240422155330.3b538bd8 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support unaffected 8060020240419071711.2e213529 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support unaffected 8080020240422101606.0f77c1b7 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 1:1.31.5-1.el9_3 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 4:4.9.4-3.el9_4 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.0 Extended Update Support unaffected 1:1.26.7-1.el9_0 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.0 Extended Update Support unaffected 2:4.2.0-3.el9_0 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support unaffected 1:1.29.3-1.el9_2 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support unaffected 2:4.4.1-16.el9_2 * rpm Not specified
CNA Red Hat Red Hat OpenShift Container Platform 4.12 unaffected 3:4.4.1-3.2.rhaos4.12.el8 * rpm Not specified
CNA Red Hat Red Hat OpenShift Container Platform 4.13 unaffected 3:4.4.1-5.3.rhaos4.13.el8 * rpm Not specified
CNA Red Hat Red Hat OpenShift Container Platform 4.13 unaffected 3:4.4.1-7.3.rhaos4.13.el8 * rpm Not specified
CNA Red Hat Red Hat OpenShift Container Platform 4.14 unaffected 3:4.4.1-13.4.rhaos4.14.el8 * rpm Not specified
CNA Red Hat Red Hat OpenShift Container Platform 4.15 unaffected 3:4.4.1-23.2.rhaos4.15.el8 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
CNA Red Hat Red Hat OpenShift Container Platform 3.11 Not specified Not specified

References

ReferenceSourceLinkTags
lists.fedoraproject.org/archives/list/[email protected]/messag... af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
lists.fedoraproject.org/archives/list/[email protected]/messag... af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
access.redhat.com/errata/RHSA-2024:2066 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:2064 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
github.com/containers/podman/security/advisories/GHSA-874v-pj72-92f3 af854a3a-2127-422b-91ae-364da2661108 github.com
access.redhat.com/errata/RHSA-2024:2098 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:2090 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:2548 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:2645 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:3254 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:2089 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
pkg.go.dev/vuln/GO-2024-2658 [email protected] pkg.go.dev
access.redhat.com/security/cve/CVE-2024-1753 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:2077 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:2049 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:2084 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:2877 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
lists.fedoraproject.org/archives/list/[email protected]/messag... af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
bugzilla.redhat.com/show_bug.cgi af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com
access.redhat.com/errata/RHSA-2024:2672 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:2055 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:2097 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:2669 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
github.com/containers/buildah/security/advisories/GHSA-pmf3-c36m-g5cf af854a3a-2127-422b-91ae-364da2661108 github.com
access.redhat.com/errata/RHSA-2024:2784 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
CNA2024-02-22T00:00:00.000ZReported to Red Hat.
CNA2024-03-18T00:00:00.000ZMade public.

Workarounds

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

Legacy QID Mappings

  • 285427 Fedora Security Update for podman (FEDORA-2024-dd32f390b3)
  • 285428 Fedora Security Update for podman (FEDORA-2024-8409b5fa8e)
  • 756037 SUSE Enterprise Linux Security Update for podman (SUSE-SU-2024:1059-1)
  • 756038 SUSE Enterprise Linux Security Update for podman (SUSE-SU-2024:1058-1)
  • 756060 SUSE Enterprise Linux Security Update for buildah (SUSE-SU-2024:1145-1)
  • 756061 SUSE Enterprise Linux Security Update for buildah (SUSE-SU-2024:1143-1)
  • 756068 SUSE Enterprise Linux Security Update for podman (SUSE-SU-2024:1146-1)
  • 756071 SUSE Enterprise Linux Security Update for buildah (SUSE-SU-2024:1144-1)
  • 756083 SUSE Enterprise Linux Security Update for buildah (SUSE-SU-2024:1142-1)
  • 997879 GO (Go) Security Update for github.com/containers/podman/v4 (GHSA-874v-pj72-92f3)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report