CVE-2024-1753

Buildah: full container escape at build time

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.

Remediation

Workaround:

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

Category

8.6
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.06%
Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com
Affected: Red Hat Red Hat Enterprise Linux 8
Affected: Red Hat Red Hat Enterprise Linux 8
Affected: Red Hat Red Hat Enterprise Linux 8
Affected: Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support
Affected: Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support
Affected: Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support
Affected: Red Hat Red Hat Enterprise Linux 9
Affected: Red Hat Red Hat Enterprise Linux 9
Affected: Red Hat Red Hat Enterprise Linux 9.0 Extended Update Support
Affected: Red Hat Red Hat Enterprise Linux 9.0 Extended Update Support
Affected: Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support
Affected: Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support
Affected: Red Hat Red Hat OpenShift Container Platform 4.12
Affected: Red Hat Red Hat OpenShift Container Platform 4.13
Affected: Red Hat Red Hat OpenShift Container Platform 4.13
Affected: Red Hat Red Hat OpenShift Container Platform 4.14
Affected: Red Hat Red Hat OpenShift Container Platform 4.15
Affected: Red Hat Red Hat Enterprise Linux 7
Affected: Red Hat Red Hat Enterprise Linux 7
Affected: Red Hat Red Hat OpenShift Container Platform 3.11
Published at:
Updated at:

References

Link Tags
https://access.redhat.com/errata/RHSA-2024:2049 vendor advisory
https://access.redhat.com/errata/RHSA-2024:2055 vendor advisory
https://access.redhat.com/errata/RHSA-2024:2064 vendor advisory
https://access.redhat.com/errata/RHSA-2024:2066 vendor advisory
https://access.redhat.com/errata/RHSA-2024:2077 vendor advisory
https://access.redhat.com/errata/RHSA-2024:2084 vendor advisory
https://access.redhat.com/errata/RHSA-2024:2089 vendor advisory
https://access.redhat.com/errata/RHSA-2024:2090 vendor advisory
https://access.redhat.com/errata/RHSA-2024:2097 vendor advisory
https://access.redhat.com/errata/RHSA-2024:2098 vendor advisory
https://access.redhat.com/errata/RHSA-2024:2548 vendor advisory
https://access.redhat.com/errata/RHSA-2024:2645 vendor advisory
https://access.redhat.com/errata/RHSA-2024:2669 vendor advisory
https://access.redhat.com/errata/RHSA-2024:2672 vendor advisory
https://access.redhat.com/errata/RHSA-2024:2784 vendor advisory
https://access.redhat.com/errata/RHSA-2024:2877 vendor advisory
https://access.redhat.com/errata/RHSA-2024:3254 vendor advisory
https://access.redhat.com/security/cve/CVE-2024-1753 vdb entry
https://bugzilla.redhat.com/show_bug.cgi?id=2265513 issue tracking
https://github.com/containers/buildah/security/advisories/GHSA-pmf3-c36m-g5cf
https://github.com/containers/podman/security/advisories/GHSA-874v-pj72-92f3
https://pkg.go.dev/vuln/GO-2024-2658
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FCRZVUDOFM5CPREQKBEU2VK2QK62PSBP/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KOYMVMQ7RWMDTSKQTBO734BE3WQPI2AJ/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZVBSVZGVABPYIHK5HZM472NPGWMI7WXH/

Frequently Asked Questions

What is the severity of CVE-2024-1753?
CVE-2024-1753 has been scored as a high severity vulnerability.
How to fix CVE-2024-1753?
As a workaround for remediating CVE-2024-1753: When SELinux is enabled, the container is restricted to limited read-only access.
Is CVE-2024-1753 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-1753 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-1753?
CVE-2024-1753 affects Red Hat Red Hat Enterprise Linux 8, Red Hat Red Hat Enterprise Linux 8, Red Hat Red Hat Enterprise Linux 8, Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support, Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support, Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support, Red Hat Red Hat Enterprise Linux 9, Red Hat Red Hat Enterprise Linux 9, Red Hat Red Hat Enterprise Linux 9.0 Extended Update Support, Red Hat Red Hat Enterprise Linux 9.0 Extended Update Support, Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support, Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support, Red Hat Red Hat OpenShift Container Platform 4.12, Red Hat Red Hat OpenShift Container Platform 4.13, Red Hat Red Hat OpenShift Container Platform 4.13, Red Hat Red Hat OpenShift Container Platform 4.14, Red Hat Red Hat OpenShift Container Platform 4.15, Red Hat Red Hat Enterprise Linux 7, Red Hat Red Hat Enterprise Linux 7, Red Hat Red Hat OpenShift Container Platform 3.11.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.