Vulnerabilities / CVE-2024-7776

critical

CVE-2024-7776

A vulnerability in the `download_model` function of the onnx/onnx fram ...

Published Modified CWE 22
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
GHSA8.1CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high), Azure Linux (high), Ubuntu (medium).

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 and fixed versions

SourcePackageFixed in
Azure Linux 3.0pytorch0:2.2.2-5.azl3
debian 11onnxno fix listed
debian 12onnxno fix listed
debian 13onnx1.16.2-1
debian 14onnx1.16.2-1
echoonnx1.16.2-1
pip::GitHub Security Advisory piponnx1.17.0
rapidfort debian 12onnx0:1.16.2-1
rapidfort debian 13onnx0:1.16.2-1
ubuntu 22.04onnxno fix listed
ubuntu 24.04onnxno fix listed

References

All 10 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.