7.5high
Onnx Directory Traversal vulnerability
- Severity
- 7.5high CVSS:3.1 by HiddenLayer
- Exploit likelihood
- 1.19% (higher than 68% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- HiddenLayer
- Also known as
- GHSA-whh8-fjgc-qp73PYSEC-2024-222
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| onnx | up to 1.15.0 | CVE List |
| linuxfoundation onnx | up to 1.15.0, before 1.16.0 | CVE List, NVD |
| onnx (PyPI) | before 1.16.0, before 66b7fb630903fdcf3e83b6b6d56d82e904264a20 | GitHub Advisory Database, PyPA Advisory Database |
| fedoraproject fedora | 39, 40 | NVD |
All scores
| HiddenLayer | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| PyPA Advisory Database | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Las versiones del paquete onnx anteriores a la 1.15.0 inclusive son vulnerables a Directory Traversal ya que el campo external_data del tensor proto puede tener una ruta al archivo que está fuera del directorio actual del modelo o del directorio proporcionado por el usuario. La vulnerabilidad se produce como una omisión del parche agregado para CVE-2022-25882.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-27318 changed 2025-02-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-whh8-fjgc-qp73 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-27318 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2024-222 changed 2026-06-10 | CC-BY-4.0 |