Multiple vulnerabilities in Open Neural Network Exchange onnx



| Updated: 2024-03-26
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2024-27319
CVE-2024-27318
CWE-ID CWE-125
CWE-22
Exploitation vector Network
Public exploit N/A
Vulnerable software
onnx
Universal components / Libraries / Libraries used by multiple products

Vendor Open Neural Network Exchange

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

Updated 26.03.2024

Added fixed version for vulnerabilities #1-2

1) Out-of-bounds read

EUVDB-ID: #VU87690

Risk: Medium

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2024-27319

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary condition caused by an off-by-one error in the ONNX_ASSERT and ONNX_ASSERTM functions. A remote attacker can send specially crafted request to the application, trigger an out-of-bounds read error and perform a denial of service (DoS) attack.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

onnx: 0.1 - 1.15.0

CPE2.3 External links

https://github.com/onnx/onnx/commit/08a399ba75a805b7813ab8936b91d0e274b08287
https://github.com/onnx/onnx/releases/tag/v1.16.0


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Path traversal

EUVDB-ID: #VU87689

Risk: Medium

CVSSv4.0: 6.6 [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/E:U/U:Green]

CVE-ID: CVE-2024-27318

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Exploit availability: No

Description

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).

Mitigation

Install update from vendor's website.

Vulnerable software versions

onnx: 0.1 - 1.15.0

CPE2.3 External links

https://github.com/onnx/onnx/commit/66b7fb630903fdcf3e83b6b6d56d82e904264a20
https://github.com/onnx/onnx/releases/tag/v1.16.0


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###