CVE-2024-7776
Critical
Description
A vulnerability in the `download_model` function of the onnx/onnx framework, before and including version 1.16.1, allows for arbitrary file overwrite due to inadequate prevention of path traversal attacks in malicious tar files. This vulnerability can be exploited by an attacker to overwrite files in the user's directory, potentially leading to remote command execution.
SeverityCritical
CVSS9.1
Exploit probability—
ProductOnnx
PublishedMar 20, 2025
First seenMar 20, 2025
Weakness typeCWE-22Path traversal
How to fix
Update
- onnx1.17.0, 1.16.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| onnx onnx | v ≤ 1.16.1 | — |
| onnxPyPI | v < 1.17.0, v < 1.16.2 | 1.17.0, 1.16.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.