AI and data stack advisories

Severe, 6 weeks1498Projects326

1498 severe, 6 weeks · 326 projects

ONNXGHSA-ffxj-547x-5j7c

Directory Traversal in onnx

ONNX

CVE-2022-25882 · Published Jan 26, 2023 · updated Apr 1, 2025

High7.5
Fix: upgrade to 1.13.0 or later
GitHub advisory

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 versions

PackageAffectedFixed in
onnx
PyPI
< 1.13.01.13.0
Details and references

More ONNX advisories

All ONNX