CVEfocus › CVE database › CVE-2024-9676

CVE-2024-9676Podman: buildah: cri-o: symlink traversal vulnerability in the containers/storage…

CVSS 6.5 MediumEPSS 1.9% (higher than 80% of CVEs)Published 2024-10-15Updated 2026-11-24Assigner: redhat

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.

CWE-22

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

116Fixed
12Fix pending
2Under investigation
6Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04golang-github-containers-storageNot affected
vulnerable_code_not_present
Ubuntu 25.10golang-github-containers-buildahNot affected
vulnerable_code_not_present
Ubuntu 25.10golang-github-containers-storageNot affected
vulnerable_code_not_present
Ubuntu 24.04golang-github-containers-buildahFix pendingUBUNTU-CVE-2024-9676
Ubuntu 24.04golang-github-containers-storageUnder investigationUBUNTU-CVE-2024-9676
Ubuntu 22.04golang-github-containers-buildahUnder investigationUBUNTU-CVE-2024-9676
Ubuntu 22.04golang-github-containers-storageFix pendingUBUNTU-CVE-2024-9676
Ubuntu 20.04golang-github-containers-storageFix pendingUBUNTU-CVE-2024-9676
Debian 14golang-github-containers-storageFixed1.55.1+ds1-1DEBIAN-CVE-2024-9676
Debian 13golang-github-containers-storageFixed1.55.1+ds1-1DEBIAN-CVE-2024-9676
Debian 12golang-github-containers-storageFix pendingDEBIAN-CVE-2024-9676
Red Hat Enterprise Linux 10buildahFix pending
Affected
Red Hat Enterprise Linux 10buildah-testsFix pending
Affected
Red Hat Enterprise Linux 10podmanFix pending
Affected
Red Hat Enterprise Linux 10podman-dockerFix pending
Affected
Red Hat Enterprise Linux 10podman-remoteFix pending
Affected
Red Hat Enterprise Linux 10podman-testsFix pending
Affected
Red Hat Enterprise Linux 10skopeoNot affected
Red Hat Enterprise Linux 10skopeo-testsNot affected
Red Hat Enterprise Linux 9buildahFixed2:1.37.5-1.el9_5RHSA-2024:9459
Red Hat Enterprise Linux 9buildah-testsFixed2:1.37.5-1.el9_5RHSA-2024:9459
Red Hat Enterprise Linux 9conmonNot affected
Red Hat Enterprise Linux 9podmanFixed4:4.9.4-16.el9_4RHSA-2024:9454
Red Hat Enterprise Linux 9podman-dockerFixed4:4.9.4-16.el9_4RHSA-2024:9454
Red Hat Enterprise Linux 9podman-pluginsFixed4:5.2.2-9.el9_5RHSA-2024:9051
Red Hat Enterprise Linux 9podman-remoteFixed4:5.2.2-9.el9_5RHSA-2024:9051
Red Hat Enterprise Linux 9podman-testsFixed4:4.9.4-16.el9_4RHSA-2024:9454
Red Hat Enterprise Linux 9skopeoFix pending
Affected
Red Hat Enterprise Linux 9skopeo-testsFix pending
Affected
Red Hat Enterprise Linux 8aardvark-dnsFixed2:1.10.1-2.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8buildahFixed2:1.33.11-1.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8buildah-testsFixed2:1.33.11-1.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8cockpit-podmanFixed0:84.1-1.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8conmonFixed3:2.1.10-1.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8container-selinuxFixed2:2.229.0-2.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8containernetworking-pluginsFixed1:1.4.0-5.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8containers-commonFixed2:1-82.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8critFixed0:3.18-5.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8criuFixed0:3.18-5.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8criu-develFixed0:3.18-5.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8criu-libsFixed0:3.18-5.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8crunFixed0:1.14.3-2.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8fuse-overlayfsFixed0:1.13-1.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8libslirpFixed0:4.4.0-2.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8libslirp-develFixed0:4.4.0-2.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8netavarkFixed2:1.10.3-1.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8oci-seccomp-bpf-hookFixed0:1.2.10-1.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8podmanFixed4:4.9.4-18.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8podman-catatonitFixed4:4.9.4-18.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8podman-dockerFixed4:4.9.4-18.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8podman-gvproxyFixed4:4.9.4-18.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8podman-pluginsFixed4:4.9.4-18.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8podman-remoteFixed4:4.9.4-18.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8podman-testsFixed4:4.9.4-18.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8python-podmanFixed0:4.9.0-3.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8python3-criuFixed0:3.18-5.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8python3-podmanFixed0:4.9.0-3.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8runcFixed1:1.1.12-5.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8skopeoFixed2:1.14.5-3.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8skopeo-testsFixed2:1.14.5-3.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8slirp4netnsFixed0:1.2.3-1.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8toolboxFixed0:0.0.99.5-2.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8toolbox-testsFixed0:0.0.99.5-2.module+el8.10.0+22417+2fb00970RHSA-2024:10289
Red Hat Enterprise Linux 8udicaFixed0:0.2.6-21.module+el8.10.0+22417+2fb00970RHSA-2024:10289
AlmaLinux 9buildahFixed2:1.37.5-1.el9_5ALSA-2024:9459
AlmaLinux 9buildah-testsFixed2:1.37.5-1.el9_5ALSA-2024:9459
AlmaLinux 9podmanFixed4:4.9.4-16.el9_4ALSA-2024:9454
AlmaLinux 9podman-dockerFixed4:4.9.4-16.el9_4ALSA-2024:9454
AlmaLinux 9podman-pluginsFixed4:5.2.2-9.el9_5ALSA-2024:9051
AlmaLinux 9podman-remoteFixed4:5.2.2-9.el9_5ALSA-2024:9051
AlmaLinux 9podman-testsFixed4:4.9.4-16.el9_4ALSA-2024:9454
AlmaLinux 8aardvark-dnsFixed2:1.10.1-2.module_el8.10.0+3909+6e1c1eb7ALSA-2024:10289
AlmaLinux 8buildahFixed2:1.33.11-1.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux 8buildah-testsFixed2:1.33.11-1.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux 8cockpit-podmanFixed84.1-1.module_el8.10.0+3876+e55593a8ALSA-2024:10289
AlmaLinux 8conmonFixed3:2.1.10-1.module_el8.10.0+3845+87b84552ALSA-2024:10289
AlmaLinux 8container-selinuxFixed2:2.229.0-2.module_el8.10.0+3909+6e1c1eb7ALSA-2024:10289
AlmaLinux 8containernetworking-pluginsFixed1:1.4.0-5.module_el8.10.0+3909+6e1c1eb7ALSA-2024:10289
AlmaLinux 8containers-commonFixed2:1-82.module_el8.10.0+3901+4b80ecd7ALSA-2024:10289
AlmaLinux 8critFixed3.18-5.module_el8.10.0+3858+6ad51f9fALSA-2024:10289
AlmaLinux 8criuFixed3.18-5.module_el8.10.0+3876+e55593a8ALSA-2024:10289
AlmaLinux 8criu-develFixed3.18-5.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux 8criu-libsFixed3.18-5.module_el8.10.0+3909+6e1c1eb7ALSA-2024:10289
AlmaLinux 8crunFixed1.14.3-2.module_el8.10.0+3909+6e1c1eb7ALSA-2024:10289
AlmaLinux 8fuse-overlayfsFixed1.13-1.module_el8.10.0+3901+4b80ecd7ALSA-2024:10289
AlmaLinux 8libslirpFixed4.4.0-2.module_el8.10.0+3858+6ad51f9fALSA-2024:10289
AlmaLinux 8libslirp-develFixed4.4.0-2.module_el8.10.0+3901+4b80ecd7ALSA-2024:10289
AlmaLinux 8netavarkFixed2:1.10.3-1.module_el8.10.0+3858+6ad51f9fALSA-2024:10289
AlmaLinux 8oci-seccomp-bpf-hookFixed1.2.10-1.module_el8.10.0+3876+e55593a8ALSA-2024:10289
AlmaLinux 8podmanFixed4:4.9.4-18.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux 8podman-catatonitFixed4:4.9.4-18.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux 8podman-dockerFixed4:4.9.4-18.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux 8podman-gvproxyFixed4:4.9.4-18.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux 8podman-pluginsFixed4:4.9.4-18.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux 8podman-remoteFixed4:4.9.4-18.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux 8podman-testsFixed4:4.9.4-18.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux 8python3-criuFixed3.18-5.module_el8.10.0+3876+e55593a8ALSA-2024:10289
AlmaLinux 8python3-podmanFixed4.9.0-3.module_el8.10.0+3926+f12484f5ALSA-2024:10289
AlmaLinux 8runcFixed1:1.1.12-5.module_el8.10.0+3909+6e1c1eb7ALSA-2024:10289
AlmaLinux 8skopeoFixed2:1.14.5-3.module_el8.10.0+3876+e55593a8ALSA-2024:10289
AlmaLinux 8skopeo-testsFixed2:1.14.5-3.module_el8.10.0+3901+4b80ecd7ALSA-2024:10289
AlmaLinux 8slirp4netnsFixed1.2.3-1.module_el8.10.0+3876+e55593a8ALSA-2024:10289
AlmaLinux 8toolboxFixed0.0.99.5-2.module_el8.10.0+3876+e55593a8ALSA-2024:10289
AlmaLinux 8toolbox-testsFixed0.0.99.5-2.module_el8.10.0+3858+6ad51f9fALSA-2024:10289
AlmaLinux 8udicaFixed0.2.6-21.module_el8.10.0+3926+f12484f5ALSA-2024:10289
Rocky Linux 9podmanFixed4:4.9.4-16.el9_4RLSA-2024:9051
Rocky Linux 8aardvark-dnsFixed2:1.10.1-2.module+el8.10.0+1874+ce489889RLSA-2024:10289
Rocky Linux 8buildahFixed2:1.33.11-1.module+el8.10.0+1896+b18fa106RLSA-2024:10289
Rocky Linux 8cockpit-podmanFixed0:84.1-1.module+el8.10.0+1815+5fe7415eRLSA-2024:10289
Rocky Linux 8conmonFixed3:2.1.10-1.module+el8.10.0+1815+5fe7415eRLSA-2024:10289
Rocky Linux 8container-selinuxFixed2:2.229.0-2.module+el8.10.0+1815+5fe7415eRLSA-2024:10289
Rocky Linux 8containernetworking-pluginsFixed1:1.4.0-5.module+el8.10.0+1843+6892ab28RLSA-2024:10289
Rocky Linux 8containers-commonFixed2:1-82.module+el8.10.0+1843+6892ab28RLSA-2024:10289
Rocky Linux 8criuFixed0:3.18-5.module+el8.10.0+1815+5fe7415eRLSA-2024:10289
Rocky Linux 8crunFixed0:1.14.3-2.module+el8.10.0+1815+5fe7415eRLSA-2024:10289
Rocky Linux 8fuse-overlayfsFixed0:1.13-1.module+el8.10.0+1815+5fe7415eRLSA-2024:10289
Rocky Linux 8libslirpFixed0:4.4.0-2.module+el8.10.0+1815+5fe7415eRLSA-2024:10289
Rocky Linux 8netavarkFixed2:1.10.3-1.module+el8.10.0+1815+5fe7415eRLSA-2024:10289
Rocky Linux 8oci-seccomp-bpf-hookFixed0:1.2.10-1.module+el8.10.0+1815+5fe7415eRLSA-2024:10289
Rocky Linux 8podmanFixed4:4.9.4-18.module+el8.10.0+1896+b18fa106RLSA-2024:10289
Rocky Linux 8python-podmanFixed0:4.9.0-3.module+el8.10.0+1896+b18fa106RLSA-2024:10289
Rocky Linux 8runcFixed1:1.1.12-5.module+el8.10.0+1874+ce489889RLSA-2024:10289
Rocky Linux 8skopeoFixed2:1.14.5-3.module+el8.10.0+1843+6892ab28RLSA-2024:10289
Rocky Linux 8slirp4netnsFixed0:1.2.3-1.module+el8.10.0+1815+5fe7415eRLSA-2024:10289
Rocky Linux 8toolboxFixed0:0.0.99.5-2.module+el8.10.0+1815+5fe7415e.rocky.0.2.rocky.0.2RLSA-2024:10289
Rocky Linux 8udicaFixed0:0.2.6-21.module+el8.10.0+1815+5fe7415eRLSA-2024:10289
Alpine Linux 3.24buildahFixed1.37.5-r0ALPINE-CVE-2024-9676
Alpine Linux 3.24podmanFixed5.2.5-r0ALPINE-CVE-2024-9676
Alpine Linux 3.23buildahFixed1.37.5-r0ALPINE-CVE-2024-9676
Alpine Linux 3.23podmanFixed5.2.5-r0ALPINE-CVE-2024-9676
Alpine Linux 3.22buildahFixed1.37.5-r0ALPINE-CVE-2024-9676
Alpine Linux 3.22podmanFixed5.2.5-r0ALPINE-CVE-2024-9676
Alpine Linux 3.21buildahFixed1.37.5-r0ALPINE-CVE-2024-9676
Alpine Linux 3.21podmanFixed5.2.5-r0ALPINE-CVE-2024-9676
Alpine Linux 3.20buildahFixed1.37.5-r0ALPINE-CVE-2024-9676
Alpine Linux 3.20podmanFixed5.2.5-r0ALPINE-CVE-2024-9676

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.