Path traversal in onnx - CVE-2024-27318

 

Path traversal in onnx - CVE-2024-27318

Published: March 21, 2024 / Updated: March 26, 2024


Vulnerability identifier: #VU87689
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-27318
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences passed via the external_data field of the tensor proto. A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.

Note, the vulnerability exists due to incomplete fix for #VU75176 (CVE-2022-25882).


Affected software

onnx
Python for Scientific Computing
Fedora
onnx
IBM Watson Machine Learning Accelerator

How to mitigate CVE-2024-27318

Install update from vendor's website.

onnx - update to 1.16.0
Python for Scientific Computing - update to 4.2.1
onnx - addressed in versions 1.14.0-9.fc39, 1.14.1-2.fc40
IBM Watson Machine Learning Accelerator - update to 5.0.3

External References

Related Security Bulletins