Name | CVE-2024-9676 |
Description | A 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
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 | vulnerable | |
sid, trixie | 1.38.0+ds1-2 | vulnerable | |
golang-github-containers-storage (PTS) | bullseye | 1.24.8+dfsg1-1+deb11u1 | vulnerable |
bookworm | 1.43.0+ds1-8 | vulnerable | |
sid, trixie | 1.56.0+ds1-2 | 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) | (unfixed) | |||
golang-github-containers-storage | source | (unstable) | 1.55.1+ds1-1 |
[bookworm] - golang-github-containers-buildah <no-dsa> (Minor issue)
[bullseye] - golang-github-containers-buildah <postponed> (Minor issue)
[bookworm] - golang-github-containers-storage <no-dsa> (Minor issue)
[bullseye] - golang-github-containers-storage <postponed> (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