GHSA-586p-749j-fhwp

Buildah allows arbitrary directory mount

En bref

Publiée
Mise à jour
CVE
CVE-2024-9675
Alias
GO-2024-3186
CVSS_V3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
CVSS_V4
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Description

A vulnerability was found in Buildah. Cache mounts do not properly validate that user-specified paths for the cache are within our cache directory, allowing a `RUN` instruction in a Container file to mount an arbitrary directory from the host (read/write) into the container as long as those files can be accessed by the user running Buildah.

Paquets affectés

PaquetVersions
Go · github.com/containers/buildahintroduced 0, fixed 1.38.0

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database