Vulnerability 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"
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linuxfoundation | Onnx | < 1.13.0 |
Related Weaknesses (CWE)
References
- https://gist.github.com/jnovikov/02a9aff9bf2188033e77bd91ff062856ExploitThird Party Advisory
- https://github.com/onnx/onnx/blob/96516aecd4c110b0ac57eba08ac236ebf7205728/onnx/Broken Link
- https://github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988dPatchThird Party Advisory
- https://github.com/onnx/onnx/issues/3991ExploitThird Party Advisory
- https://github.com/onnx/onnx/pull/4400PatchThird Party Advisory
- https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479ExploitThird Party Advisory
- https://gist.github.com/jnovikov/02a9aff9bf2188033e77bd91ff062856ExploitThird Party Advisory
- https://github.com/onnx/onnx/blob/96516aecd4c110b0ac57eba08ac236ebf7205728/onnx/Broken Link
- https://github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988dPatchThird Party Advisory
- https://github.com/onnx/onnx/issues/3991ExploitThird Party Advisory
- https://github.com/onnx/onnx/pull/4400PatchThird Party Advisory
- https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479ExploitThird Party Advisory
FAQ
What is CVE-2022-25882?
CVE-2022-25882 is a vulnerability with a CVSS score of 7.5 (HIGH). 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...
How severe is CVE-2022-25882?
CVE-2022-25882 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-25882?
Check the references section above for vendor advisories and patch information. Affected products include: Linuxfoundation Onnx.