medium6.5
CVE-2024-9676
A vulnerability was found in Podman, Buildah, and CRI-O. A symlink traversal vulnerability in the...
Impact
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
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Openshift Container Platform | Versions 4.12, 4.13, 4.14, 4.15, 4.16, 4.17 |
| Redhat | Openshift Container Platform For Arm64 | Versions 4.12, 4.13, 4.14, 4.15, 4.16 |
| Redhat | Openshift Container Platform For Ibm Z | Versions 4.12, 4.13, 4.14, 4.15, 4.16 |
| Redhat | Openshift Container Platform For Linuxone | Versions 4.12, 4.13, 4.14, 4.15, 4.16 |
| Redhat | Openshift Container Platform For Power | Versions 4.12, 4.13, 4.14, 4.15, 4.16 |
| Redhat | Enterprise Linux | Version 9.0 |
| Redhat | Enterprise Linux Eus | Version 9.4 |
| Redhat | Enterprise Linux For Arm 64 | Version 9.0_aarch64 |
| Redhat | Enterprise Linux For Arm 64 Eus | Version 9.4_aarch64 |
| Redhat | Enterprise Linux For Ibm Z Systems | Version 9.0_s390x |
| Redhat | Enterprise Linux For Ibm Z Systems Eus | Version 9.4_s390x |
| Redhat | Enterprise Linux For Power Little Endian | Version 9.0_ppc64le |
| Red Hat | Red Hat OpenShift Container Platform 4.18 | Versions patch: 0:0.1.12-9.el9, patch: 0:4.0.1-1.el9, patch: 0:4.18.0-202411201308.p0.g006fe4e.assembly.stream.el8, patch: 3:2.1.12-7.rhaos4.18.el9, patch: 0:5.0.1-0.20240522171520.4e51aef.el9, patch: 0:1.4.0-2.el9.1 |
| Red Hat | Red Hat Enterprise Linux 9 | Versions patch: 4:4.9.4-16.el9_4, patch: 2:1.37.5-1.el9_5, patch: 4:5.2.2-9.el9_5 |
| Red Hat | Red Hat OpenShift Container Platform 4.12 | Version patch: 0:1.25.5-30.rhaos4.12.git53dc492.el8 |
| Red Hat | Red Hat OpenShift Container Platform 4.17 | Versions patch: 5:5.2.2-1.rhaos4.17.el8, patch: v4.17.0-202501281204.p0.ga753153.assembly.stream.el9, patch: 0:1.30.6-6.rhaos4.17.git6ac6e96.el8 |
| Red Hat | Red Hat Enterprise Linux 8 | Version patch: 8100020241101101019.afee755d |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | Version patch: 0:1.26.5-26.rhaos4.13.giteb3d487.el8 |
| Red Hat | Red Hat OpenShift Container Platform 4.16 | Versions patch: 0:1.29.9-6.rhaos4.16.gite7bd45a.el8, patch: 4:4.9.4-12.rhaos4.16.el8, patch: v4.16.0-202503121138.p0.g31c3c26.assembly.stream.el9 |
| Red Hat | Red Hat OpenShift Container Platform 4.14 | Versions patch: 0:1.27.8-12.rhaos4.14.git7597c43.el8, patch: v4.14.0-202503060906.p0.gb03f3f5.assembly.stream.el8 |
| Red Hat | Red Hat OpenShift Container Platform 4.15 | Versions patch: v4.15.0-202503060734.p0.gbc0b789.assembly.stream.el8, patch: 0:1.28.11-5.rhaos4.15.git35a2431.el8 |
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | Version patch: 2:1.33.11-1.el9_4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-wq2p-5pc6-wpgf
- https://nvd.nist.gov/vuln/detail/CVE-2024-9676
- https://access.redhat.com/security/cve/CVE-2024-9676
- https://bugzilla.redhat.com/show_bug.cgi?id=2317467
- https://access.redhat.com/errata/RHSA-2024:8418
- https://access.redhat.com/errata/RHSA-2024:8437
- https://access.redhat.com/errata/RHSA-2024:8428
- https://access.redhat.com/errata/RHSA-2024:8686
- https://access.redhat.com/errata/RHSA-2024:8690
- https://access.redhat.com/errata/RHSA-2024:8694
- https://access.redhat.com/errata/RHSA-2024:8700
- https://access.redhat.com/errata/RHSA-2024:9051
- https://access.redhat.com/errata/RHSA-2024:9454
- https://access.redhat.com/errata/RHSA-2024:9459
- https://access.redhat.com/errata/RHSA-2024:8984
- https://access.redhat.com/errata/RHSA-2024:9926
- https://access.redhat.com/errata/RHSA-2024:10289
- https://access.redhat.com/errata/RHSA-2025:0876
- https://access.redhat.com/errata/RHSA-2025:2454
- https://access.redhat.com/errata/RHSA-2025:2710
- https://access.redhat.com/errata/RHSA-2025:3301
- https://github.com/containers/storage/commit/935c58f4b3e364a9c9d33ed06476a831e6ad5679
- https://access.redhat.com/errata/RHEA-2024:6126