Vulnerability
CVE-2024-27318
Versions of the package onnx before and including 1.15.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. The vulnerability occurs as a bypass for the patch added for CVE-2022-25882.
5 advisories report this vulnerability, across 3 ecosystems.
Advisories
-
AZL-34464
CVE-2024-27318 affecting package pytorch for versions less than 2.0.0-6
-
AZL-35146
CVE-2024-27318 affecting package pytorch for versions less than 2.2.2-1
- CGA-8hqg-r8vh-xmcj
-
GHSA-whh8-fjgc-qp73
Onnx Directory Traversal vulnerability
-
PYSEC-2024-222
Versions of the package onnx before and including 1.15.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…
References
- https://github.com/onnx/onnx/commit/66b7fb630903fdcf3e83b6b6d56d82e904264a20
- https://lists.fedoraproject.org/archives/list/[email protected]/message/FGTBH5ZYL2LGYHIJDHN2MAUURIR5E7PY/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/TFJJID2IZDOLFDMWVYTBDI75ZJQC6JOL/
- https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479