GitHub Advisoryadvisory · PyPI
GHSA-ffxj-547x-5j7c Directory Traversal in onnx
HIGH
Official page ↗
- Aliases
- CVE-2022-25882
- Ecosystem
- PyPI
- Packages
- onnx
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2023-01-27
Affected packages
• PyPI onnx: < 1.13.0 → fixed in 1.13.0
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"
Related
Alias · CVE (1)
- 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… vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-25882 advisory
- https://github.com/onnx/onnx/issues/3991 web
- https://github.com/onnx/onnx/pull/4400 web
- https://github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988d web
- https://gist.github.com/jnovikov/02a9aff9bf2188033e77bd91ff062856 web
- https://github.com/onnx/onnx package
- https://github.com/onnx/onnx/blob/96516aecd4c110b0ac57eba08ac236ebf7205728/onnx/checker.cc%23L129 web
- https://github.com/pypa/advisory-database/tree/main/vulns/onnx/PYSEC-2023-38.yaml web
- https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479 web