CVE-2022-25882

Published on: Not Yet Published

Last Modified on: 02/02/2023 06:20:00 PM UTC

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Certain versions of Onnx from Linuxfoundation contain the following 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"

  • CVE-2022-25882 has been assigned by URL Logo [email protected] to track the vulnerability - currently rated as HIGH severity.

CVSS3 Score: 7.5 - HIGH

Attack
Vector
Attack
Complexity
Privileges
Required
User
Interaction
NETWORK LOW NONE NONE
Scope Confidentiality
Impact
Integrity
Impact
Availability
Impact
UNCHANGED HIGH NONE NONE

CVE References

Description Tags Link
Do not allow to read tensor's external_data outside the model directo… · onnx/[email protected] · GitHub github.com
text/html
URL Logo MISC github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988d
Directory Traversal in onnx | CVE-2022-25882 | Snyk security.snyk.io
text/html
URL Logo MISC security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479
The onnx runtime allow to load the external_data from the file outside the folder · Issue #3991 · onnx/onnx · GitHub github.com
text/html
URL Logo MISC github.com/onnx/onnx/issues/3991
Do not allow to read tensor's external_data outside the model directory by jnovikov · Pull Request #4400 · onnx/onnx · GitHub github.com
text/html
URL Logo MISC github.com/onnx/onnx/pull/4400
Onnx runtime poc · GitHub gist.github.com
text/html
URL Logo MISC gist.github.com/jnovikov/02a9aff9bf2188033e77bd91ff062856
onnx/checker.cc at 96516aecd4c110b0ac57eba08ac236ebf7205728 · onnx/onnx · GitHub github.com
text/html
URL Logo MISC github.com/onnx/onnx/blob/96516aecd4c110b0ac57eba08ac236ebf7205728/onnx/checker.cc%23L129

Known Affected Configurations (CPE V2.3)

Type Vendor Product Version Update Edition Language
ApplicationLinuxfoundationOnnxAllAllAllAll
  • cpe:2.3:a:linuxfoundation:onnx:*:*:*:*:*:*:*:*:

Social Mentions

Source Title Posted (UTC)
Twitter Icon @CVEreport CVE-2022-25882 : Versions of the package onnx before 1.13.0 are vulnerable to Directory Traversal as the external_d… twitter.com/i/web/status/1… 2023-01-26 21:19:25
© CVE.report 2023 Twitter Nitter Twitter Viewer |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report