Vulnerabilities · 2022 · Linuxfoundation
CVE-2022-25882
Linuxfoundation Onnx vulnerability
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 products
Onnx. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linuxfoundation Onnx runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988d · Patch
- github.com/onnx/onnx/pull/4400 · Patch
- gist.github.com/jnovikov/02a9aff9bf2188033e77bd91ff062856 · Exploit
- github.com/onnx/onnx/issues/3991 · Exploit
- security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479 · Exploit
- github.com/onnx/onnx/blob/96516aecd4c110b0ac57eba08ac236ebf7205728/onnx/checker.cc%23L129
- nvd.nist.gov/vuln/detail/CVE-2022-25882
- github.com/pypa/advisory-database/tree/main/vulns/onnx/PYSEC-2023-38.yaml
- nvd.nist.gov/vuln/detail/CVE-2022-25882
- cve.org/CVERecord?id=CVE-2022-25882
More vulnerabilities in Linuxfoundation products
CVE-2026-24747CVE-2026-24117CVE-2026-23955CVE-2026-23831CVE-2025-68141CVE-2025-68140CVE-2025-68139CVE-2025-68138All 418
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.