Vulnerability · Published Oct 15, 2024 · Assigned by redhat

CVE-2024-9676Podman: buildah: cri-o: symlink traversal vulnerability in the containers/storage library can cause denial of service (dos)

Medium 6.5

In plain English

A medium-severity path traversal in containers/storage. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)1.3%top 28.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8aardvark-dns2:1.10.1-2.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux:8aardvark-dns2:1.10.1-2.module_el8.10.0+3909+6e1c1eb7ALSA-2024:10289
AlmaLinux:8aardvark-dns2:1.10.1-2.module_el8.10.0+3901+4b80ecd7ALSA-2024:10289
AlmaLinux:8buildah2:1.33.11-1.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux:9buildah2:1.37.5-1.el9_5ALSA-2024:9459
AlmaLinux:8buildah-tests2:1.33.11-1.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux:9buildah-tests2:1.37.5-1.el9_5ALSA-2024:9459
AlmaLinux:8cockpit-podman84.1-1.module_el8.10.0+3876+e55593a8ALSA-2024:10289
AlmaLinux:8conmon3:2.1.10-1.module_el8.10.0+3901+4b80ecd7ALSA-2024:10289
AlmaLinux:8conmon3:2.1.10-1.module_el8.10.0+3845+87b84552ALSA-2024:10289
AlmaLinux:8conmon3:2.1.10-1.module_el8.10.0+3909+6e1c1eb7ALSA-2024:10289
AlmaLinux:8conmon3:2.1.10-1.module_el8.10.0+3876+e55593a8ALSA-2024:10289
AlmaLinux:8container-selinux2:2.229.0-2.module_el8.10.0+3909+6e1c1eb7ALSA-2024:10289
AlmaLinux:8containernetworking-plugins1:1.4.0-5.module_el8.10.0+3909+6e1c1eb7ALSA-2024:10289
AlmaLinux:8containernetworking-plugins1:1.4.0-5.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux:8containernetworking-plugins1:1.4.0-5.module_el8.10.0+3876+e55593a8ALSA-2024:10289
AlmaLinux:8containers-common2:1-82.module_el8.10.0+3901+4b80ecd7ALSA-2024:10289
AlmaLinux:8containers-common2:1-82.module_el8.10.0+3876+e55593a8ALSA-2024:10289
AlmaLinux:8crit3.18-5.module_el8.10.0+3858+6ad51f9fALSA-2024:10289
AlmaLinux:8crit3.18-5.module_el8.10.0+3901+4b80ecd7ALSA-2024:10289
AlmaLinux:8crit3.18-5.module_el8.10.0+3845+87b84552ALSA-2024:10289
AlmaLinux:8criu3.18-5.module_el8.10.0+3909+6e1c1eb7ALSA-2024:10289
AlmaLinux:8criu3.18-5.module_el8.10.0+3876+e55593a8ALSA-2024:10289
AlmaLinux:8criu3.18-5.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux:8criu-devel3.18-5.module_el8.10.0+3876+e55593a8ALSA-2024:10289
AlmaLinux:8criu-devel3.18-5.module_el8.10.0+3858+6ad51f9fALSA-2024:10289
AlmaLinux:8criu-devel3.18-5.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux:8criu-libs3.18-5.module_el8.10.0+3845+87b84552ALSA-2024:10289
AlmaLinux:8criu-libs3.18-5.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux:8criu-libs3.18-5.module_el8.10.0+3909+6e1c1eb7ALSA-2024:10289
AlmaLinux:8crun1.14.3-2.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux:8crun1.14.3-2.module_el8.10.0+3909+6e1c1eb7ALSA-2024:10289
AlmaLinux:8crun1.14.3-2.module_el8.10.0+3845+87b84552ALSA-2024:10289
AlmaLinux:8fuse-overlayfs1.13-1.module_el8.10.0+3901+4b80ecd7ALSA-2024:10289
AlmaLinux:8fuse-overlayfs1.13-1.module_el8.10.0+3909+6e1c1eb7ALSA-2024:10289
AlmaLinux:8fuse-overlayfs1.13-1.module_el8.10.0+3792+03eaed9cALSA-2024:10289
AlmaLinux:8libslirp4.4.0-2.module_el8.10.0+3858+6ad51f9fALSA-2024:10289
AlmaLinux:8libslirp4.4.0-2.module_el8.10.0+3876+e55593a8ALSA-2024:10289
AlmaLinux:8libslirp4.4.0-2.module_el8.10.0+3845+87b84552ALSA-2024:10289
AlmaLinux:8libslirp-devel4.4.0-2.module_el8.10.0+3876+e55593a8ALSA-2024:10289
AlmaLinux:8libslirp-devel4.4.0-2.module_el8.10.0+3901+4b80ecd7ALSA-2024:10289
AlmaLinux:8libslirp-devel4.4.0-2.module_el8.10.0+3909+6e1c1eb7ALSA-2024:10289
AlmaLinux:8libslirp-devel4.4.0-2.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux:8netavark2:1.10.3-1.module_el8.10.0+3845+87b84552ALSA-2024:10289
AlmaLinux:8netavark2:1.10.3-1.module_el8.10.0+3858+6ad51f9fALSA-2024:10289
AlmaLinux:8netavark2:1.10.3-1.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux:8netavark2:1.10.3-1.module_el8.10.0+3901+4b80ecd7ALSA-2024:10289
AlmaLinux:8oci-seccomp-bpf-hook1.2.10-1.module_el8.10.0+3876+e55593a8ALSA-2024:10289
AlmaLinux:8oci-seccomp-bpf-hook1.2.10-1.module_el8.10.0+3909+6e1c1eb7ALSA-2024:10289
AlmaLinux:8oci-seccomp-bpf-hook1.2.10-1.module_el8.10.0+3792+03eaed9cALSA-2024:10289
AlmaLinux:8podman4:4.9.4-18.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux:9podman4:4.9.4-16.el9_4ALSA-2024:9051
AlmaLinux:9podman4:5.2.2-9.el9_5ALSA-2024:9454
AlmaLinux:8podman-catatonit4:4.9.4-18.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux:8podman-docker4:4.9.4-18.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux:9podman-docker4:5.2.2-9.el9_5ALSA-2024:9454
AlmaLinux:9podman-docker4:4.9.4-16.el9_4ALSA-2024:9051
AlmaLinux:8podman-gvproxy4:4.9.4-18.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux:8podman-plugins4:4.9.4-18.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux:9podman-plugins4:5.2.2-9.el9_5ALSA-2024:9454
AlmaLinux:9podman-plugins4:4.9.4-16.el9_4ALSA-2024:9051
AlmaLinux:8podman-remote4:4.9.4-18.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux:9podman-remote4:5.2.2-9.el9_5ALSA-2024:9454
AlmaLinux:9podman-remote4:4.9.4-16.el9_4ALSA-2024:9051
AlmaLinux:8podman-tests4:4.9.4-18.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux:9podman-tests4:4.9.4-16.el9_4ALSA-2024:9051
AlmaLinux:9podman-tests4:5.2.2-9.el9_5ALSA-2024:9454
AlmaLinux:8python3-criu3.18-5.module_el8.10.0+3858+6ad51f9fALSA-2024:10289
AlmaLinux:8python3-criu3.18-5.module_el8.10.0+3901+4b80ecd7ALSA-2024:10289
AlmaLinux:8python3-criu3.18-5.module_el8.10.0+3876+e55593a8ALSA-2024:10289
AlmaLinux:8python3-criu3.18-5.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux:8python3-podman4.9.0-3.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux:8runc1:1.1.12-5.module_el8.10.0+3909+6e1c1eb7ALSA-2024:10289
AlmaLinux:8skopeo2:1.14.5-3.module_el8.10.0+3901+4b80ecd7ALSA-2024:10289
AlmaLinux:8skopeo2:1.14.5-3.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux:8skopeo2:1.14.5-3.module_el8.10.0+3909+6e1c1eb7ALSA-2024:10289
AlmaLinux:8skopeo2:1.14.5-3.module_el8.10.0+3876+e55593a8ALSA-2024:10289
AlmaLinux:8skopeo-tests2:1.14.5-3.module_el8.10.0+3901+4b80ecd7ALSA-2024:10289
AlmaLinux:8skopeo-tests2:1.14.5-3.module_el8.10.0+3876+e55593a8ALSA-2024:10289
AlmaLinux:8slirp4netns1.2.3-1.module_el8.10.0+3901+4b80ecd7ALSA-2024:10289
AlmaLinux:8slirp4netns1.2.3-1.module_el8.10.0+3845+87b84552ALSA-2024:10289
AlmaLinux:8slirp4netns1.2.3-1.module_el8.10.0+3876+e55593a8ALSA-2024:10289
AlmaLinux:8slirp4netns1.2.3-1.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux:8toolbox0.0.99.5-2.module_el8.10.0+3901+4b80ecd7ALSA-2024:10289
AlmaLinux:8toolbox0.0.99.5-2.module_el8.10.0+3876+e55593a8ALSA-2024:10289
AlmaLinux:8toolbox0.0.99.5-2.module_el8.10.0+3845+87b84552ALSA-2024:10289
AlmaLinux:8toolbox0.0.99.5-2.module_el8.10.0+3858+6ad51f9fALSA-2024:10289
AlmaLinux:8toolbox-tests0.0.99.5-2.module_el8.10.0+3909+6e1c1eb7ALSA-2024:10289
AlmaLinux:8toolbox-tests0.0.99.5-2.module_el8.10.0+3858+6ad51f9fALSA-2024:10289
AlmaLinux:8udica0.2.6-21.module_el8.10.0+3926+f12484f5ALSA-2024:10289
Alpine:v3.20buildah1.37.5-r0ALPINE-CVE-2024-9676
Alpine:v3.21buildah1.37.5-r0ALPINE-CVE-2024-9676
Alpine:v3.22buildah1.37.5-r0ALPINE-CVE-2024-9676
Alpine:v3.23buildah1.37.5-r0ALPINE-CVE-2024-9676
Alpine:v3.24buildah1.37.5-r0ALPINE-CVE-2024-9676
Alpine:v3.20podman5.2.5-r0ALPINE-CVE-2024-9676
Alpine:v3.21podman5.2.5-r0ALPINE-CVE-2024-9676
Alpine:v3.22podman5.2.5-r0ALPINE-CVE-2024-9676
Alpine:v3.23podman5.2.5-r0ALPINE-CVE-2024-9676
Alpine:v3.24podman5.2.5-r0ALPINE-CVE-2024-9676
Debian:12golang-github-containers-storageno fix listedDEBIAN-CVE-2024-9676
Debian:13golang-github-containers-storage1.55.1+ds1-1DEBIAN-CVE-2024-9676
Debian:14golang-github-containers-storage1.55.1+ds1-1DEBIAN-CVE-2024-9676
Rocky Linux:8aardvark-dns2:1.10.1-2.module+el8.10.0+1874+ce489889RLSA-2024:10289
Rocky Linux:8buildah2:1.33.11-1.module+el8.10.0+1896+b18fa106RLSA-2024:10289
Rocky Linux:8cockpit-podman0:84.1-1.module+el8.10.0+1815+5fe7415eRLSA-2024:10289
Rocky Linux:8conmon3:2.1.10-1.module+el8.10.0+1815+5fe7415eRLSA-2024:10289
Rocky Linux:8container-selinux2:2.229.0-2.module+el8.10.0+1815+5fe7415eRLSA-2024:10289
Rocky Linux:8containernetworking-plugins1:1.4.0-5.module+el8.10.0+1843+6892ab28RLSA-2024:10289
Rocky Linux:8containers-common2:1-82.module+el8.10.0+1843+6892ab28RLSA-2024:10289
Rocky Linux:8criu0:3.18-5.module+el8.10.0+1815+5fe7415eRLSA-2024:10289
Rocky Linux:8crun0:1.14.3-2.module+el8.10.0+1815+5fe7415eRLSA-2024:10289
Rocky Linux:8fuse-overlayfs0:1.13-1.module+el8.10.0+1815+5fe7415eRLSA-2024:10289
Rocky Linux:8libslirp0:4.4.0-2.module+el8.10.0+1815+5fe7415eRLSA-2024:10289
Rocky Linux:8netavark2:1.10.3-1.module+el8.10.0+1815+5fe7415eRLSA-2024:10289
Rocky Linux:8oci-seccomp-bpf-hook0:1.2.10-1.module+el8.10.0+1815+5fe7415eRLSA-2024:10289
Rocky Linux:8podman4:4.9.4-18.module+el8.10.0+1896+b18fa106RLSA-2024:10289
Rocky Linux:9podman4:4.9.4-16.el9_4RLSA-2024:9051
Rocky Linux:8python-podman0:4.9.0-3.module+el8.10.0+1896+b18fa106RLSA-2024:10289
Rocky Linux:8runc1:1.1.12-5.module+el8.10.0+1874+ce489889RLSA-2024:10289
Rocky Linux:8skopeo2:1.14.5-3.module+el8.10.0+1843+6892ab28RLSA-2024:10289
Rocky Linux:8slirp4netns0:1.2.3-1.module+el8.10.0+1815+5fe7415eRLSA-2024:10289
Rocky Linux:8toolbox0:0.0.99.5-2.module+el8.10.0+1815+5fe7415e.rocky.0.2.rocky.0.2RLSA-2024:10289
Rocky Linux:8udica0:0.2.6-21.module+el8.10.0+1815+5fe7415eRLSA-2024:10289
Ubuntu:22.04:LTSgolang-github-containers-buildahno fix listedUBUNTU-CVE-2024-9676
Ubuntu:24.04:LTSgolang-github-containers-storageno fix listedUBUNTU-CVE-2024-9676

Affected products (as reported)

VendorProductVersions
containers/storage 0 – before 1.55.1
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support see references
Red Hat Red Hat OpenShift Container Platform 4.12 see references
Red Hat Red Hat OpenShift Container Platform 4.13 see references
Red Hat Red Hat OpenShift Container Platform 4.14 see references
Red Hat Red Hat OpenShift Container Platform 4.14 see references
Red Hat Red Hat OpenShift Container Platform 4.15 see references
Red Hat Red Hat OpenShift Container Platform 4.15 see references
Red Hat Red Hat OpenShift Container Platform 4.16 see references
Red Hat Red Hat OpenShift Container Platform 4.16 see references
Red Hat Red Hat OpenShift Container Platform 4.16 see references
Red Hat Red Hat OpenShift Container Platform 4.17 see references
Red Hat Red Hat OpenShift Container Platform 4.17 see references
Red Hat Red Hat OpenShift Container Platform 4.17 see references
Red Hat Red Hat OpenShift Container Platform 4.18 see references
Red Hat Red Hat OpenShift Container Platform 4.18 see references
Red Hat Red Hat OpenShift Container Platform 4.18 see references
Red Hat Red Hat OpenShift Container Platform 4.18 see references
Red Hat Red Hat OpenShift Container Platform 4.18 see references
Red Hat Red Hat OpenShift Container Platform 4.18 see references
Red Hat Red Hat OpenShift Container Platform 4.18 see references
Red Hat Red Hat OpenShift Container Platform 4.18 see references
Red Hat Red Hat OpenShift Container Platform 4.18 see references
Red Hat Red Hat OpenShift Container Platform 4.18 see references
Red Hat Red Hat OpenShift Container Platform 4.18 see references
Red Hat Red Hat OpenShift Container Platform 4.18 see references

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References