Skip to content

Onnx Directory Traversal vulnerability

High severity GitHub Reviewed Published Feb 23, 2024 to the GitHub Advisory Database • Updated Apr 24, 2024

Package

pip onnx (pip)

Affected versions

<= 1.15.0

Patched versions

1.16.0

Description

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.

References

Published by the National Vulnerability Database Feb 23, 2024
Published to the GitHub Advisory Database Feb 23, 2024
Reviewed Feb 23, 2024
Last updated Apr 24, 2024

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-2024-27318

GHSA ID

GHSA-whh8-fjgc-qp73

Source code

Credits

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