NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2024-9675: Buildah allows arbitrary directory mount

mediumCVSS 4.0 5.3 · 3.1 4.4GHSA-586p-749j-fhwp

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.

Published Oct 9, 2024 · Updated Oct 30, 2026

Affected packages

github.com/containers/buildah

Ecosystem
Go
Affected
< 1.38.0
Fixed in
1.38.0
Check
go list -m github.com/containers/buildah

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries