PyPi: Onnx

CVE-2022-25882

Safety vulnerability ID: 52928

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Jan 26, 2023 Updated at Nov 29, 2024
Scan your Python projects for vulnerabilities →

Advisory

Onnx 1.13.0 includes a fix for 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 or user-provided directory.

Affected package

onnx

Latest version: 1.17.0

Open Neural Network Exchange

Affected versions

Fixed versions

Vulnerability changelog

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" See CVE-2022-25882.


MISC:https://gist.github.com/jnovikov/02a9aff9bf2188033e77bd91ff062856: https://gist.github.com/jnovikov/02a9aff9bf2188033e77bd91ff062856
MISC:https://github.com/onnx/onnx/blob/96516aecd4c110b0ac57eba08ac236ebf7205728/onnx/checker.cc%23L129: https://github.com/onnx/onnx/blob/96516aecd4c110b0ac57eba08ac236ebf7205728/onnx/checker.cc%23L129
MISC:https://github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988d: https://github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988d
MISC:https://github.com/onnx/onnx/issues/3991: https://github.com/onnx/onnx/issues/3991
MISC:https://github.com/onnx/onnx/pull/4400: https://github.com/onnx/onnx/pull/4400
MISC:https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479: https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

HIGH 7.5

CVSS v3 Details

HIGH 7.5
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
NONE
Availability Availability (A)
NONE