GitHub Advisoryadvisory · PyPI

GHSA-whh8-fjgc-qp73 Onnx Directory Traversal vulnerability

HIGH Published 2024-02-23 Modified 2025-02-13 Official page ↗
Aliases
CVE-2024-27318
Ecosystem
PyPI
Packages
onnx
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-22
Reviewed
2024-02-23

Affected packages

• PyPI onnx: < 1.16.0 → fixed in 1.16.0

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.

Related

Alias · CVE (1)

  • CVE-2024-27318 Versions of the package onnx before and including 1.15.0 are vulnerable to Directory Traversal as the external_data field of the tensor… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References