CWE
22
Advisory Published
Advisory Published
Updated

CVE-2024-7776: Arbitrary File Overwrite in onnx/onnx

First published: Thu Mar 20 2025(Updated: )

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.

Credit: security@huntr.dev

Affected SoftwareAffected VersionHow to fix
pip/onnx<1.17.0
1.17.0
ONNX<=1.16.1
ONNX<=1.16.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-7776?

    CVE-2024-7776 has been classified as a high severity vulnerability due to its potential for arbitrary file overwrite.

  • How do I fix CVE-2024-7776?

    To remediate CVE-2024-7776, upgrade to onnx version 1.17.0 or later.

  • Which versions of ONNX are affected by CVE-2024-7776?

    CVE-2024-7776 affects ONNX versions up to and including 1.16.1.

  • What kind of attack does CVE-2024-7776 enable?

    CVE-2024-7776 allows for path traversal attacks through malicious tar files, resulting in arbitrary file overwrite.

  • Who is impacted by CVE-2024-7776?

    Developers and users of ONNX versions 1.16.1 and earlier are at risk due to CVE-2024-7776.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203