PYSEC-2023-38

At a glance

Published
Updated
CVE
CVE-2022-25882
Aliases
GHSA-ffxj-547x-5j7c

Description

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 packages

PackageVersions
PyPI · onnxintroduced 0, fixed f369b0e859024095d721f1d1612da5a8fa38988d ; introduced 0, fixed 1.13.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database