Skip to content

Directory Traversal in onnx

High severity GitHub Reviewed Published Jan 26, 2023 to the GitHub Advisory Database • Updated Feb 3, 2023

Package

pip onnx (pip)

Affected versions

< 1.13.0

Patched versions

1.13.0

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"

References

Published by the National Vulnerability Database Jan 26, 2023
Published to the GitHub Advisory Database Jan 26, 2023
Reviewed Jan 27, 2023
Last updated Feb 3, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Weaknesses

CVE ID

CVE-2022-25882

GHSA ID

GHSA-ffxj-547x-5j7c

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.