VulnWatch by ve1ve2
high 8.6 EPSS 0.50%

GO-2024-2658: Container escape at build time in github.com/containers/buildah

Source:
OSV.dev
Published:
Fetched:
Updated:
Affects:
github.com/containers/buildah

https://osv.dev/vulnerability/GO-2024-2658 ↗

osvgofix-available

Container escape at build time in github.com/containers/buildah A crafted container file can use a dummy image with a symbolic link to the host filesystem as a mount source and cause the mount operation to mount the host filesystem during a build-time RUN step. The commands inside the RUN step will then have read-write access to the host filesystem. Affected: Go:github.com/containers/buildah Fixed in: 1.35.1 References: https://github.com/containers/buildah/commit/9de9c20ff368beb84b84fe660773d352519dc1c5 https://bugzilla.redhat.com/show_bug.cgi?id=2265513

Linked vulnerabilities (3)

CVE-2024-1753 high 8.6 EPSS 0.50% (p36) NVDCVE.orgGHSAGHSA
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

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.

CWE: CWE-59Aliases: GHSA-874v-pj72-92f3, GHSA-pmf3-c36m-g5cfNVD: Deferred

Container escape at build time in github.com/containers/buildah

Aliases: CVE-2024-1753, GHSA-pmf3-c36m-g5cf

Container escape at build time in github.com/containers/buildah

Aliases: CVE-2024-1753, GHSA-874v-pj72-92f3

Also reported by (2)