CVE-2024-27318

HIGH7.5EPSS 0.41%

Onnx Directory Traversal vulnerability

Published: 2/23/2024Modified: 2/4/2026

Description

Versions of the package onnx before and including 1.15.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. The vulnerability occurs as a bypass for the patch added for CVE-2022-25882.

Affected packages (2)

  • PyPI/onnxfrom 0, < 1.16.0
  • PyPI/onnxfrom 0, < 66b7fb630903fdcf3e83b6b6d56d82e904264a20, < 66b7fb630903fdcf3e83b6b6d56d82e904264a20 | from 0, < 1.16.0

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1HIGH7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References (9)