Advisory

PYSEC-2023-38

Also known as: CVE-2022-25882, GHSA-ffxj-547x-5j7c

Summary

The record has no summary.

Details

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"

Severity

Not rated by the source.

Dates

Published
2023-01-26 21:15 UTC
Modified
2026-06-10 17:02 UTC

Affected packages and fixes

onnx

PyPI · All systems

Affected

  • introduced 0, fixed 1.13.0 (ecosystem)

Fixed versions

1.13.0

Fix

  • Fixed version 1.13.0
    pip install --upgrade onnx==1.13.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences