Skip to content
OpenAdvisories
High · 7.5 CVE-2022-25882 EUVD-2023-0183GHSA-ffxj-547x-5j7cPYSEC-2023-38

Directory Traversal in onnx

Published Jan 25, 2023 · Updated Apr 1, 2025 · Assigned by snyk

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 products

VendorProductAffectedFixed
— onnx < 1.13.0 1.13.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.

ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS onnx No fix yet —

Azure Linux

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

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI onnx < 1.13.0 1.13.0 GHSA-ffxj-547x-5j7c

References