CVE-2022-25882
JSON

7.5high

Directory Traversal in onnx

Severity
7.5high CVSS:3.1 by snyk
Exploit likelihood
1.72% (higher than 78% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
snyk
Also known as
GHSA-ffxj-547x-5j7cPYSEC-2023-38

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

Product or packageVersionsReported by
onnxbefore 1.13.0CVE List
onnx (PyPI)before 1.13.0, before f369b0e859024095d721f1d1612da5a8fa38988dGitHub Advisory Database, PyPA Advisory Database
linuxfoundation onnxbefore 1.13.0NVD

All scores

snyk7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-22

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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"

NVD (es)

Las versiones del paquete onnx anteriores a la 1.13.0 son vulnerables a Directory Traversal ya que el campo external_data del tensor proto puede tener una ruta al archivo que está fuera del directorio actual del modelo o del directorio proporcionado por el usuario, por ejemplo "../.. /../etc/contraseña"

References

Sources

SourceRecordLicence
CVE ListCVE-2022-25882 changed 2025-04-01CVE Terms of Use
GitHub Advisory DatabaseGHSA-ffxj-547x-5j7c changed 2025-04-01CC-BY-4.0
NVDCVE-2022-25882 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2023-38 changed 2026-06-10CC-BY-4.0