CVE-2022-25882
CVE-2022-25882
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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"
CVSS 7.5 · High · EPSS 1.6% · Fix available
- Published
- Updated
Affected products and versions
onnx
- Versions
- ≥ 0, < 1.13.0: Affected (semver)
Update to 1.13.0
onnx PyPI
- Versions
- 0.1
- 0.2
- 0.2.1
- 1.0.0
- 1.0.1
- 1.1.0
- 1.1.1
- 1.1.2
- 1.10.0
- 1.10.1
- 1.10.2
- 1.11.0
- 1.12.0
- 1.2.1
- 1.2.2
- 1.2.3
- 1.3.0
- 1.4.0
- 1.4.1
- 1.5.0
- 1.6.0
- 1.7.0
- 1.8.0
- 1.8.1
- 1.9.0
- Affected ranges
- ECOSYSTEM: < 1.13.0
Update to 1.13.0
onnx PyPI
- Versions
- 0.1
- 0.2
- 0.2.1
- 1.0.0
- 1.0.1
- 1.1.0
- 1.1.1
- 1.1.2
- 1.10.0
- 1.10.1
- 1.10.2
- 1.11.0
- 1.12.0
- 1.2.1
- 1.2.2
- 1.2.3
- 1.3.0
- 1.4.0
- 1.4.1
- 1.5.0
- 1.6.0
- 1.7.0
- 1.8.0
- 1.8.1
- 1.9.0
- v1.3.0
- v1.1.0
- v0.2
- v0.1
- Affected ranges
- GIT: < f369b0e859024095d721f1d1612da5a8fa38988d
- ECOSYSTEM: < 1.13.0
Update to 1.13.0
onnx Ubuntu:22.04:LTS
- Versions
- 1.7.0+dfsg-3build1
- 1.7.0+dfsg-3build2
- 1.7.0+dfsg-3ubuntu1
- 1.7.0+dfsg-3ubuntu2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2022-25882