{"id":"UBUNTU-CVE-2024-9676","details":"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.","modified":"2026-03-25T19:21:31.367506Z","published":"2024-10-15T16:15:00Z","upstream":["CVE-2024-9676"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-9676"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-9676"},{"type":"REPORT","url":"https://github.com/advisories/GHSA-wq2p-5pc6-wpgf"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2317467"},{"type":"REPORT","url":"https://github.com/containers/buildah/pull/5786"},{"type":"REPORT","url":"https://github.com/containers/storage/pull/2135"}],"affected":[{"package":{"name":"golang-github-containers-storage","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/golang-github-containers-storage@1.15.8+dfsg1-1ubuntu2.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.13.2+dfsg1-2","1.13.2+dfsg1-3","1.13.5+dfsg1-1","1.15.1+dfsg1-1","1.15.2+dfsg1-1","1.15.3+dfsg1-1","1.15.5+dfsg1-1","1.15.7+dfsg1-1","1.15.8+dfsg1-1","1.15.8+dfsg1-1ubuntu1","1.15.8+dfsg1-1ubuntu2","1.15.8+dfsg1-1ubuntu2.1"],"ecosystem_specific":{"binaries":[{"binary_name":"containers-storage","binary_version":"1.15.8+dfsg1-1ubuntu2.1"},{"binary_name":"golang-github-containers-storage-dev","binary_version":"1.15.8+dfsg1-1ubuntu2.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-9676.json"}},{"package":{"name":"golang-github-containers-buildah","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/golang-github-containers-buildah@1.23.1+ds1-2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.21.3+ds1-1ubuntu1","1.23.1+ds1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"buildah","binary_version":"1.23.1+ds1-2"},{"binary_version":"1.23.1+ds1-2","binary_name":"golang-github-containers-buildah-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-9676.json"}},{"package":{"name":"golang-github-containers-storage","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/golang-github-containers-storage@1.36.0+ds1-2ubuntu0.1+esm2?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.31.3+ds1-1ubuntu1","1.36.0+ds1-2","1.36.0+ds1-2ubuntu0.1","1.36.0+ds1-2ubuntu0.1+esm1","1.36.0+ds1-2ubuntu0.1+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"containers-storage","binary_version":"1.36.0+ds1-2ubuntu0.1+esm2"},{"binary_name":"golang-github-containers-storage-dev","binary_version":"1.36.0+ds1-2ubuntu0.1+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-9676.json"}},{"package":{"name":"golang-github-containers-storage","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/golang-github-containers-storage@1.51.0+ds1-2ubuntu0.24.04.3?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.43.0+ds1-8build1","1.50.2+ds1-2","1.51.0+ds1-2","1.51.0+ds1-2ubuntu0.24.04.1","1.51.0+ds1-2ubuntu0.24.04.2","1.51.0+ds1-2ubuntu0.24.04.3"],"ecosystem_specific":{"binaries":[{"binary_name":"containers-storage","binary_version":"1.51.0+ds1-2ubuntu0.24.04.3"},{"binary_version":"1.51.0+ds1-2ubuntu0.24.04.3","binary_name":"golang-github-containers-storage-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-9676.json"}},{"package":{"name":"golang-github-containers-buildah","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/golang-github-containers-buildah@1.33.7+ds1-1ubuntu0.24.04.3+esm3?arch=source&distro=esm-apps/noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.28.2+ds1-3build1","1.32.2+ds1-1","1.33.1+ds1-2","1.33.3+ds1-2","1.33.5+ds1-4","1.33.5+ds1-4build1","1.33.5+ds1-4build2","1.33.7+ds1-1","1.33.7+ds1-1ubuntu0.24.04.1","1.33.7+ds1-1ubuntu0.24.04.2","1.33.7+ds1-1ubuntu0.24.04.2+esm1","1.33.7+ds1-1ubuntu0.24.04.2+esm2","1.33.7+ds1-1ubuntu0.24.04.3","1.33.7+ds1-1ubuntu0.24.04.3+esm2","1.33.7+ds1-1ubuntu0.24.04.3+esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"buildah","binary_version":"1.33.7+ds1-1ubuntu0.24.04.3+esm3"},{"binary_name":"golang-github-containers-buildah-dev","binary_version":"1.33.7+ds1-1ubuntu0.24.04.3+esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-9676.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}