CVE-2022-25882
HIGH 7.5CVSS 3.1Directory Traversal in onnx
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"
- Published
- 26 Jan 2023
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-ffxj-547x-5j7cPYSEC-2023-38
- Sources
- NVDJSONOSV GHSA-ffxj-547x-5j7cJSONOSV PYSEC-2023-38JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA: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) | 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 |
| OSV | GitHub | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linuxfoundation | onnxcpe:2.3:a:linuxfoundation:onnx:*:*:*:*:*:*:*:* |
< 1.13.0 | 1.13.0 |
| OSV | PyPI | onnx | < 1.13.0 | 1.13.0 |
References
- https://gist.github.com/jnovikov/02a9aff9bf2188033e77bd91ff062856 · Exploit, Third Party Advisory, WEB
- https://github.com/onnx/onnx/blob/96516aecd4c110b0ac57eba08ac236ebf7205728/onnx/checker.cc%23L129 · Broken Link, WEB
- https://github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988d · Patch, Third Party Advisory, WEB, FIX
- https://github.com/onnx/onnx/issues/3991 · Exploit, Third Party Advisory, WEB, REPORT
- https://github.com/onnx/onnx/pull/4400 · Patch, Third Party Advisory, WEB
- https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25882 · ADVISORY
- https://github.com/onnx/onnx · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/onnx/PYSEC-2023-38.yaml · WEB
- https://github.com/advisories/GHSA-ffxj-547x-5j7c · ADVISORY
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 26 Jan 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 26 Jan 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Jan 2023)