Skip to content
OpenAdvisories
High · 7.5 CVE-2024-27318 EUVD-2024-0124GHSA-whh8-fjgc-qp73PYSEC-2024-222

Onnx Directory Traversal vulnerability

Published Feb 23, 2024 · Updated Feb 13, 2025 · Assigned by HiddenLayer

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 products

VendorProductAffectedFixed
onnx onnx ≤ 1.15.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 pytorch 2.2.2-1 —
Azure Linux 2 (CBL-Mariner) pytorch 2.0.0-6 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI onnx < 1.16.0 1.16.0 GHSA-whh8-fjgc-qp73

References