CVE-2024-9341
Podman: buildah: cri-o: fips crypto-policy directory mounting issue in containers/common go library
Auswirkung
A flaw was found in Go. When FIPS mode is enabled on a system, container runtimes may incorrectly handle certain file paths due to improper validation in the containers/common Go library. This flaw allows an attacker to exploit symbolic links and trick the system into mounting sensitive host directories inside a container. This issue also allows attackers to access critical host files, bypassing the intended isolation between containers and the host system.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, geringes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | github.com/containers/common | < 0.60.4 | 0.60.4 |
Betroffene Produkte
| Hersteller | Produkt | Betroffene Versionen |
|---|---|---|
| Containers | Common | Alle Versionen |
| Red Hat | Enterprise Linux | Versionen 8.0, 9.0 |
| Red Hat | Openshift Container Platform | Versionen 4.12, 4.13, 4.14, 4.15, 4.16, 4.17 |
| Red Hat | Red Hat Enterprise Linux 8 | Version patch: 8100020241023085649.afee755d |
| Red Hat | Red Hat Enterprise Linux 9 | Versionen patch: 2:1.33.9-1.el9_4, patch: 2:1.37.5-1.el9_5, patch: 4:4.9.4-13.el9_4, 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.13 | Version patch: 0:1.26.5-26.rhaos4.13.giteb3d487.el8 |
| Red Hat | Red Hat OpenShift Container Platform 4.14 | Version patch: 0:1.27.8-10.rhaos4.14.git807f92c.el8 |
| Red Hat | Red Hat OpenShift Container Platform 4.15 | Version patch: 0:1.28.11-5.rhaos4.15.git35a2431.el8 |
| Red Hat | Red Hat OpenShift Container Platform 4.16 | Versionen patch: 0:1.29.9-5.rhaos4.16.git34690b9.el8, patch: 416.94.202411201433-0 |
| Red Hat | Red Hat OpenShift Container Platform 4.17 | Versionen patch: 0:1.30.6-3.rhaos4.17.git49b5172.el8, patch: 417.94.202412040832-0 |
| Red Hat | Red Hat OpenShift Container Platform 4.18 | Versionen patch: v4.18.0-202501230001.p0.g7cf7fe2.assembly.stream.el9, patch: 0:5.4.0-1.el9, patch: v4.18.0-202502110432.p0.ga5a8299.assembly.stream.el9, patch: v4.18.0-202501230001.p0.g391c1b0.assembly.stream.el9, patch: v4.18.0-202501230001.p0.g987615c.assembly.stream.el9, patch: 0:1.58-12.el9 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://access.redhat.com/errata/RHEA-2024:6126
- https://access.redhat.com/errata/RHSA-2024:10147
- https://access.redhat.com/errata/RHSA-2024:10818
- https://access.redhat.com/errata/RHSA-2024:6122
- https://access.redhat.com/errata/RHSA-2024:7925
- https://access.redhat.com/errata/RHSA-2024:8039
- https://access.redhat.com/errata/RHSA-2024:8112
- https://access.redhat.com/errata/RHSA-2024:8238
- https://access.redhat.com/errata/RHSA-2024:8263
- https://access.redhat.com/errata/RHSA-2024:8428
- https://access.redhat.com/errata/RHSA-2024:8690
- https://access.redhat.com/errata/RHSA-2024:8694
- https://access.redhat.com/errata/RHSA-2024:8846
- https://access.redhat.com/errata/RHSA-2024:9454
- https://access.redhat.com/errata/RHSA-2024:9459
- https://access.redhat.com/security/cve/CVE-2024-9341
- https://bugzilla.redhat.com/show_bug.cgi?id=2315691
- https://github.com/containers/common/blob/384f77532f67afc8a73d8e0c4adb0d195df57714/pkg/subscriptions/subscriptions.go#L169
- https://github.com/containers/common/blob/384f77532f67afc8a73d8e0c4adb0d195df57714/pkg/subscriptions/subscriptions.go#L349
- https://github.com/advisories/GHSA-mc76-5925-c5p6
- https://nvd.nist.gov/vuln/detail/CVE-2024-9341
- https://github.com/containers/common/commit/e7db06585c32e1a782c1d9aa3b71ccd708f5e23f