What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: containers/storage 1.55.1; Red Hat OpenShift Container Platform 4.18 2:1.33.7-4.rhaos4.18.el9; Red Hat Enterprise Linux 8 8100020241101101019.afee755d; Red Hat Enterprise Linux 9 4:4.9.4-16.el9_4; Red Hat Enterprise Linux 9.4 Extended Update Support 2:1.33.11-1.el9_4; Red Hat OpenShift Container Platform 4.12 0:1.25.5-30.rhaos4.12.git53dc492.el8; Red Hat OpenShift Container Platform 4.13 0:1.26.5-26.rhaos4.13.giteb3d487.el8; Red Hat OpenShift Container Platform 4.14 0:1.27.8-12.rhaos4.14.git7597c43.el8; Red Hat OpenShift Container Platform 4.15 0:1.28.11-5.rhaos4.15.git35a2431.el8; Red Hat OpenShift Container Platform 4.16 0:1.29.9-6.rhaos4.16.gite7bd45a.el8; Red Hat OpenShift Container Platform 4.17 0:1.30.6-6.rhaos4.17.git6ac6e96.el8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-9676 or the next vulnerability affects your stack