Vulnerability · Published Mar 20, 2025 · Assigned by @huntr_ai
CVE-2024-7776Arbitrary File Overwrite in onnx/onnx
High 8.1
In plain English
A high-severity path traversal in onnx/onnx from onnx. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 75% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | onnx | no fix listed | DEBIAN-CVE-2024-7776 |
| Debian:13 | onnx | 1.16.2-1 | DEBIAN-CVE-2024-7776 |
| Debian:14 | onnx | 1.16.2-1 | DEBIAN-CVE-2024-7776 |
| PyPI | onnx | 1.17.0 | GHSA-h36j-8vv3-cj52 |
| PyPI | onnx | 1.16.2 | PYSEC-2025-10 |
| Ubuntu:22.04:LTS | onnx | no fix listed | UBUNTU-CVE-2024-7776 |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H