Advisory

GHSA-586p-749j-fhwp

Also known as: CVE-2024-9675, GO-2024-3186

Summary

Buildah allows arbitrary directory mount

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-10-09 15:32 UTC
Modified
2026-10-30 18:45 UTC

Affected packages and fixes

github.com/containers/buildah

Go · All systems

Affected

  • introduced 0, fixed 1.38.0 (semver)

Fixed versions

1.38.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences