ADVISORIES

GitHub Advisory Database

GHSA-h36j-8vv3-cj52

Open Neural Network Exchange (ONNX) Path Traversal Vulnerability

Details

A vulnerability in the download_model function of the onnx/onnx framework, before and including version 1.16.1, allows for arbitrary file overwrite due to inadequate prevention of path traversal attacks in malicious tar files. This vulnerability can be exploited by an attacker to overwrite files in the user's directory, potentially leading to remote command execution.

Affected packages

EcosystemPackageAffected versions
PyPIonnx
All versions before 1.17.0 (fixed in 1.17.0)

References