Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1mZnhqLTU0N3gtNWo3Y84AAxM0
Directory Traversal in onnx
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"
Permalink: https://github.com/advisories/GHSA-ffxj-547x-5j7cJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1mZnhqLTU0N3gtNWo3Y84AAxM0
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: about 1 year ago
Updated: about 1 year ago
CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Identifiers: GHSA-ffxj-547x-5j7c, CVE-2022-25882
References:
- https://nvd.nist.gov/vuln/detail/CVE-2022-25882
- https://github.com/onnx/onnx/issues/3991
- https://github.com/onnx/onnx/pull/4400
- https://github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988d
- https://gist.github.com/jnovikov/02a9aff9bf2188033e77bd91ff062856
- https://github.com/onnx/onnx/blob/96516aecd4c110b0ac57eba08ac236ebf7205728/onnx/checker.cc%23L129
- https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479
- https://github.com/advisories/GHSA-ffxj-547x-5j7c
Blast Radius: 29.6
Affected Packages
pypi:onnx
Dependent packages: 369Dependent repositories: 8,716
Downloads: 5,300,399 last month
Affected Version Ranges: < 1.13.0
Fixed in: 1.13.0
All affected versions: 0.2.1, 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.1.2, 1.2.1, 1.2.2, 1.2.3, 1.3.0, 1.4.0, 1.4.1, 1.5.0, 1.6.0, 1.7.0, 1.8.0, 1.8.1, 1.9.0, 1.10.0, 1.10.1, 1.10.2, 1.11.0, 1.12.0
All unaffected versions: 1.13.0, 1.13.1, 1.14.0, 1.14.1, 1.15.0, 1.16.0