pysec-2025-10
Vulnerability from pysec
Published
2025-03-20 10:15
Modified
2025-03-26 19:21
Severity ?
Details

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.

Impacted products
Name purl
onnx pkg:pypi/onnx
Aliases



{
   affected: [
      {
         package: {
            ecosystem: "PyPI",
            name: "onnx",
            purl: "pkg:pypi/onnx",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "0",
                  },
                  {
                     fixed: "1.16.2",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
         versions: [
            "0.1",
            "0.2",
            "0.2.1",
            "1.0.0",
            "1.0.1",
            "1.1.0",
            "1.1.1",
            "1.1.2",
            "1.10.0",
            "1.10.1",
            "1.10.2",
            "1.11.0",
            "1.12.0",
            "1.13.0",
            "1.13.1",
            "1.14.0",
            "1.14.1",
            "1.15.0",
            "1.16.0",
            "1.16.1",
            "1.2.1",
            "1.2.2",
            "1.2.3",
            "1.3.0",
            "1.4.0",
            "1.4.1",
            "1.5.0",
            "1.6.0",
            "1.7.0",
            "1.8.0",
            "1.8.1",
            "1.9.0",
         ],
      },
   ],
   aliases: [
      "CVE-2024-7776",
   ],
   details: "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.",
   id: "PYSEC-2025-10",
   modified: "2025-03-26T19:21:38.843396+00:00",
   published: "2025-03-20T10:15:37+00:00",
   references: [
      {
         type: "EVIDENCE",
         url: "https://huntr.com/bounties/a7a46cf6-1fa0-454b-988c-62d222e83f63",
      },
      {
         type: "WEB",
         url: "https://huntr.com/bounties/a7a46cf6-1fa0-454b-988c-62d222e83f63",
      },
   ],
   severity: [
      {
         score: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
         type: "CVSS_V3",
      },
   ],
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.