CVE-2022-25882

HIGH7.5EPSS 5.8%

Directory Traversal in onnx

Published: 1/26/2023Modified: 4/1/2025

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 (2)

  • PyPI/onnxfrom 0, < 1.13.0
  • PyPI/onnxfrom 0, < f369b0e859024095d721f1d1612da5a8fa38988d | from 0, < 1.13.0

CVSS scores

SourceVersionSeverityVector
osvCVSS 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
osvCVSS 3.1HIGH7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References (9)