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 path to the file which is outside the model current directory
02 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
03 Exploitation and scoring
- Exploitation
- Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
- SSVC decision
- ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
- AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 1.60% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 75.4% of scored records. A rank, not a probability.
- NVD base score
- 7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2023-01-25 05:00Z3 YR AGO
- Last updated
- 2025-04-01 14:54Z1 YR AGO
- Reserved
- 2022-02-24
- Assigning CNA
- snyk
- Record state
- PUBLISHED
- Severity
- High (CVSS 7.5)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P
- Weaknesses
- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')Base
- Data version
- 5.1
- Document digest
- 175282b4adcec1ad48f2f818f97ac68518abc7a8a3a1c8515d22c4055466258c
05 Affected products
06 References
- security.snyk.iohttps://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479
- github.comhttps://github.com/onnx/onnx/issues/3991
- github.comhttps://github.com/onnx/onnx/blob/96516aecd4c110b0ac57eba08ac236ebf7205728/onnx/checker.cc%23L129
- github.comhttps://github.com/onnx/onnx/pull/4400
- github.comhttps://github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988d
- gist.github.comhttps://gist.github.com/jnovikov/02a9aff9bf2188033e77bd91ff062856
07 Fixed in
Ubuntu 22.04 LTS
- onnx No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.