| Name | CVE-2024-9675 |
| 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. |
| Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1084980 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| golang-github-containers-buildah (PTS) | bullseye | 1.19.6+dfsg1-1 | vulnerable |
| bookworm | 1.28.2+ds1-3+deb12u1 | vulnerable | |
| trixie | 1.39.3+ds1-1 | fixed | |
| forky, sid | 1.41.5+ds1-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| golang-github-containers-buildah | source | (unstable) | 1.37.4+ds1-1 | 1084980 |
[bookworm] - golang-github-containers-buildah <no-dsa> (Minor issue)
[bullseye] - golang-github-containers-buildah <postponed> (Minor issue)
https://github.com/advisories/GHSA-586p-749j-fhwp
https://bugzilla.redhat.com/show_bug.cgi?id=2317458
https://github.com/containers/buildah/pull/5780
Fixed by: https://github.com/containers/buildah/commit/cffa820dc8be07efdb7fc4e8e8b9ff44c70aaf93 (v1.37.5)