CVE-2024-1753

Buildah: buildah: container escape via improper bind mount validation

HIGH 8.6

At a glance

Source
NVD
EPSS
EPSS 0.46 % · percentile 40 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Deferred

Description

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.

Weaknesses (CWE)

  • CWE-59 — Improper Link Resolution Before File Access

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.6CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:Hredhat
CVSS 3.1HIGH 8.6CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HNVD · secalert@redhat.com (Secondary)

Advisories

European references

Affected products

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

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD