{"id":"UBUNTU-CVE-2022-25882","details":"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\"","modified":"2026-06-11T02:30:11.930993967Z","published":"2023-01-26T21:15:00Z","upstream":["CVE-2022-25882"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-25882"},{"type":"REPORT","url":"https://gist.github.com/jnovikov/02a9aff9bf2188033e77bd91ff062856"},{"type":"REPORT","url":"https://github.com/onnx/onnx/blob/96516aecd4c110b0ac57eba08ac236ebf7205728/onnx/checker.cc%23L129"},{"type":"REPORT","url":"https://github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988d"},{"type":"REPORT","url":"https://github.com/onnx/onnx/issues/3991"},{"type":"REPORT","url":"https://github.com/onnx/onnx/pull/4400"},{"type":"REPORT","url":"https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-25882"}],"affected":[{"package":{"name":"onnx","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/onnx?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.0+dfsg-3build1","1.7.0+dfsg-3build2","1.7.0+dfsg-3ubuntu1","1.7.0+dfsg-3ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"libonnx-testdata","binary_version":"1.7.0+dfsg-3ubuntu2"},{"binary_name":"libonnx1","binary_version":"1.7.0+dfsg-3ubuntu2"},{"binary_version":"1.7.0+dfsg-3ubuntu2","binary_name":"libonnxifi"},{"binary_version":"1.7.0+dfsg-3ubuntu2","binary_name":"python3-onnx"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-25882.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}