CVE-2022-25882
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…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.61%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS
- 1.61% probability · 75th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-22
- Affected
- linuxfoundation/onnx
- Source
- report@snyk.io
References
- https://gist.github.com/jnovikov/02a9aff9bf2188033e77bd91ff062856Exploit, Third Party Advisory
- https://github.com/onnx/onnx/blob/96516aecd4c110b0ac57eba08ac236ebf7205728/onnx/checker.cc%23L129Broken Link
- https://github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988dPatch, Third Party Advisory
- https://github.com/onnx/onnx/issues/3991Exploit, Third Party Advisory
- https://github.com/onnx/onnx/pull/4400Patch, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479Exploit, Third Party Advisory
- https://gist.github.com/jnovikov/02a9aff9bf2188033e77bd91ff062856Exploit, Third Party Advisory
- https://github.com/onnx/onnx/blob/96516aecd4c110b0ac57eba08ac236ebf7205728/onnx/checker.cc%23L129Broken Link
- https://github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988dPatch, Third Party Advisory
- https://github.com/onnx/onnx/issues/3991Exploit, Third Party Advisory
- https://github.com/onnx/onnx/pull/4400Patch, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.