CVE-2022-25882

Directory Traversal in onnx in pypi/onnx

Identifiers

GHSA-ffxj-547x-5j7c, CVE-2022-25882

Package Slug

pypi/onnx

Vulnerability

Directory Traversal in onnx

Description

Versions of the package onnx before 1.13.0 is 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 Versions

All versions before 1.13.0

Solution

Upgrade to version 1.13.0 or above.

Last Modified

2023-01-27

source