VDB
Sign up
HIGH7.5

PYSEC-2024-222

Quick fix

PYSEC-2024-222 — onnx: upgrade to the fixed version with the command below.

pip install --upgrade 'onnx>=66b7fb630903fdcf3e83b6b6d56d82e904264a20'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/onnx
Introduced in: 0Fixed in: 66b7fb630903fdcf3e83b6b6d56d82e904264a20
Fixpip install --upgrade 'onnx>=66b7fb630903fdcf3e83b6b6d56d82e904264a20'

References