onnx
At a glance
- Source
- NVD
- EPSS
- EPSS 1.61 % · percentile 76 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- snyk
- NVD status
- Modified
Description
Versions of the package onnx before 1.13.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, for example "../../../etc/passwd"
Weaknesses (CWE)
- CWE-22 — Improper Limitation of a Pathname to a Restricted Directory
References
- https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479
- https://github.com/onnx/onnx/issues/3991
- https://github.com/onnx/onnx/blob/96516aecd4c110b0ac57eba08ac236ebf7205728/onnx/checker.cc%23L129
- https://github.com/onnx/onnx/pull/4400
- https://github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988d
- https://gist.github.com/jnovikov/02a9aff9bf2188033e77bd91ff062856
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P | snyk |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD · report@snyk.io (Secondary) |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-ffxj-547x-5j7c — Directory Traversal in onnx
- PYSEC-2023-38 — Versions of the package onnx before 1.13.0 are vulnerable to Directory Traversal as the external_data field of the tensor proto can have a path to the file whic
European references
- ENISA EUVD · EUVD-2023-0183
- GCVE · GCVE-0-2022-25882
CERT-FR advisories
- CERTFR-2024-AVI-0670 — Multiples vulnérabilités dans Splunk Machine Learning Toolkit · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:linuxfoundation:onnx:*:*:*:*:*:*:*:*< 1.13.0
Affected products
| Product | Versions |
|---|---|
| onnx | affected 0 < 1.13.0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |