{"id":"CVE-2022-25882","state":"PUBLISHED","title":"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 mod","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\"","publishedAt":"2023-01-25T05:00:02.847Z","updatedAt":"2025-04-01T14:54:07.446Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","source":"snyk"},"assigner":"snyk","products":["n/a onnx"],"affected":[{"vendor":"n/a","product":"onnx","versions":[{"version":"0","status":"affected","lessThan":"1.13.0","versionType":"semver"}]}],"references":["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"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T19:49:46.971Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/25xxx/CVE-2022-25882.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-25882","state":"PUBLISHED","datePublished":"2023-01-25T05:00:02.847Z","dateUpdated":"2025-04-01T14:54:07.446Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2022-02-24T11:58:16.846Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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\""}],"affected":[{"vendor":"n/a","product":"onnx","versions":[{"version":"0","status":"affected","lessThan":"1.13.0","versionType":"semver"}]}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479"},{"url":"https://github.com/onnx/onnx/issues/3991"},{"url":"https://github.com/onnx/onnx/blob/96516aecd4c110b0ac57eba08ac236ebf7205728/onnx/checker.cc%23L129"},{"url":"https://github.com/onnx/onnx/pull/4400"},{"url":"https://github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988d"},{"url":"https://gist.github.com/jnovikov/02a9aff9bf2188033e77bd91ff062856"}],"metrics":[{"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","description":"Directory Traversal","lang":"en"}]}],"providerMetadata":{"shortName":"snyk","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateUpdated":"2023-01-25T05:00:02.847Z"},"credits":[{"value":"jnovikov","lang":"en"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479","tags":["x_transferred"]},{"url":"https://github.com/onnx/onnx/issues/3991","tags":["x_transferred"]},{"url":"https://github.com/onnx/onnx/blob/96516aecd4c110b0ac57eba08ac236ebf7205728/onnx/checker.cc%23L129","tags":["x_transferred"]},{"url":"https://github.com/onnx/onnx/pull/4400","tags":["x_transferred"]},{"url":"https://github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988d","tags":["x_transferred"]},{"url":"https://gist.github.com/jnovikov/02a9aff9bf2188033e77bd91ff062856","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T04:49:44.161Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-01T14:53:52.957267Z","id":"CVE-2022-25882","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","type":"CWE","lang":"en","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-01T14:54:07.446Z"}}]}}}