hoch7.5
CVE-2024-27318
Onnx Directory Traversal vulnerability
Auswirkung
Versions of the package onnx before and including 1.15.0 are vulnerable to Directory Traversal as the external_data field of the tensor proto can have a path to the file which is outside the model current directory or user-provided directory. The vulnerability occurs as a bypass for the patch added for CVE-2022-25882.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| pip | onnx | <= 1.15.0 | 1.16.0 |
Betroffene Produkte
| Hersteller | Produkt | Betroffene Versionen | Behoben durch |
|---|---|---|---|
| Fedoraproject | Fedora | Versionen 39, 40 | Kein Hersteller-Update aufgeführt |
| Linuxfoundation | Onnx | vor 1.16.0 | Kein Hersteller-Update aufgeführt |
| Microsoft | Azure Linux 3.0 ARM | Onlinedienst | Vom Hersteller behoben, nichts zu tun |
| Microsoft | Azure Linux 3.0 x64 | Onlinedienst | Vom Hersteller behoben, nichts zu tun |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/onnx/onnx/commit/66b7fb630903fdcf3e83b6b6d56d82e904264a20
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FGTBH5ZYL2LGYHIJDHN2MAUURIR5E7PY/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TFJJID2IZDOLFDMWVYTBDI75ZJQC6JOL/
- https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479
- https://github.com/advisories/GHSA-whh8-fjgc-qp73
- https://nvd.nist.gov/vuln/detail/CVE-2024-27318
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FGTBH5ZYL2LGYHIJDHN2MAUURIR5E7PY
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TFJJID2IZDOLFDMWVYTBDI75ZJQC6JOL
- https://github.com/pypa/advisory-database/tree/main/vulns/onnx/PYSEC-2024-222.yaml