CVE-2024-9676
mediumA vulnerability was found in Podman, Buildah, and CRI-O.
Vendor / product: Redhat — openshift container platform
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Affected products
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
References
- https://access.redhat.com/errata/RHEA-2024:6126 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2024:10289 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2024:8418 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2024:8428 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2024:8437 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2024:8686 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2024:8690 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2024:8694 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2024:8700 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2024:8984 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2024:9051 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2024:9454 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2024:9459 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2024:9926 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:0876 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:2454 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:2710 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:3301 secalert@redhat.com
- https://access.redhat.com/security/cve/CVE-2024-9676 secalert@redhat.com
- https://bugzilla.redhat.com/show_bug.cgi?id=2317467 secalert@redhat.com
- https://github.com/advisories/GHSA-wq2p-5pc6-wpgf secalert@redhat.com
- https://github.com/containers/storage/commit/935c58f4b3e364a9c9d33ed06476a831e6ad5679 secalert@redhat.com
