CVE-2024-9676

NameCVE-2024-9676
DescriptionA vulnerability was found in Podman, Buildah, and CRI-O. A symlink traversal vulnerability in the containers/storage library can cause Podman, Buildah, and CRI-O to hang and result in a denial of service via OOM kill when running a malicious image using an automatically assigned user namespace (`--userns=auto` in Podman and Buildah). The containers/storage library will read /etc/passwd inside the container, but does not properly validate if that file is a symlink, which can be used to cause the library to read an arbitrary file on the host.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-github-containers-buildah (PTS)bullseye1.19.6+dfsg1-1vulnerable
bookworm1.28.2+ds1-3vulnerable
sid, trixie1.37.5+ds1-1vulnerable
golang-github-containers-storage (PTS)bullseye1.24.8+dfsg1-1+deb11u1vulnerable
bookworm1.43.0+ds1-8vulnerable
sid, trixie1.55.1+ds1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-github-containers-buildahsource(unstable)(unfixed)
golang-github-containers-storagesource(unstable)1.55.1+ds1-1

Notes

[bookworm] - golang-github-containers-buildah <no-dsa> (Minor issue)
[bookworm] - golang-github-containers-storage <no-dsa> (Minor issue)
https://github.com/advisories/GHSA-wq2p-5pc6-wpgf
https://bugzilla.redhat.com/show_bug.cgi?id=2317467
https://github.com/containers/buildah/pull/5786
https://github.com/containers/storage/pull/2135

Search for package or bug name: Reporting problems