Vulnerability · Published Jan 25, 2023 · Assigned by snyk

CVE-2022-25882

High 7.5

In plain English

A high-severity path traversal in onnx. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 77% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.7%top 23.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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"

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIonnx1.13.0GHSA-ffxj-547x-5j7c
PyPIonnx1.13.0PYSEC-2023-38
Ubuntu:22.04:LTSonnxno fix listedUBUNTU-CVE-2022-25882

Affected products (as reported)

VendorProductVersions
n/a onnx 0 – before 1.13.0

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P

References