CVE-2024-7776

Arbitrary File Overwrite in onnx/onnx

State
Published
Severity
8.1 High
Published
Mar 20, 2025
Updated
Mar 20, 2025
Reserved
Aug 13, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.08.1 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H@huntr_ai

Weaknesses

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

Affected Products

ProductVersions
onnx/onnxonnx
  • latest and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.