ubuntu-cve-2025-51480
Vulnerability from osv_ubuntu
Published
2025-07-22 16:15
Modified
2026-05-26 19:51
Summary
Details

Path Traversal vulnerability in onnx.external_data_helper.save_external_data in ONNX 1.17.0 allows attackers to overwrite arbitrary files by supplying crafted external_data.location paths containing traversal sequences, bypassing intended directory restrictions.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libonnx-testdata",
            "binary_version": "1.7.0+dfsg-3ubuntu2"
          },
          {
            "binary_name": "libonnx1",
            "binary_version": "1.7.0+dfsg-3ubuntu2"
          },
          {
            "binary_name": "libonnxifi",
            "binary_version": "1.7.0+dfsg-3ubuntu2"
          },
          {
            "binary_name": "python3-onnx",
            "binary_version": "1.7.0+dfsg-3ubuntu2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "onnx",
        "purl": "pkg:deb/ubuntu/onnx@1.7.0+dfsg-3ubuntu2?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.7.0+dfsg-3build1",
        "1.7.0+dfsg-3build2",
        "1.7.0+dfsg-3ubuntu1",
        "1.7.0+dfsg-3ubuntu2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libonnx-testdata",
            "binary_version": "1.14.1-2.1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libonnx1t64",
            "binary_version": "1.14.1-2.1ubuntu0.1~esm1"
          },
          {
            "binary_name": "python3-onnx",
            "binary_version": "1.14.1-2.1ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:24.04:LTS",
        "name": "onnx",
        "purl": "pkg:deb/ubuntu/onnx@1.14.1-2.1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.13.1-3",
        "1.13.1-3build1",
        "1.14.1-2",
        "1.14.1-2.1",
        "1.14.1-2.1build1",
        "1.14.1-2.1build2",
        "1.14.1-2.1ubuntu0.1~esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libonnx-testdata",
            "binary_version": "1.17.0-3build1"
          },
          {
            "binary_name": "libonnx1t64",
            "binary_version": "1.17.0-3build1"
          },
          {
            "binary_name": "python3-onnx",
            "binary_version": "1.17.0-3build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "onnx",
        "purl": "pkg:deb/ubuntu/onnx@1.17.0-3build1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.17.0-3build1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libonnx-testdata",
            "binary_version": "1.20.0-1"
          },
          {
            "binary_name": "libonnx1t64",
            "binary_version": "1.20.0-1"
          },
          {
            "binary_name": "python3-onnx",
            "binary_version": "1.20.0-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "onnx",
        "purl": "pkg:deb/ubuntu/onnx@1.20.0-1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.17.0-3build1",
        "1.20.0-1"
      ]
    }
  ],
  "aliases": [],
  "details": "Path Traversal vulnerability in onnx.external_data_helper.save_external_data in ONNX 1.17.0 allows attackers to overwrite arbitrary files by supplying crafted external_data.location paths containing traversal sequences, bypassing intended directory restrictions.",
  "id": "UBUNTU-CVE-2025-51480",
  "modified": "2026-05-26T19:51:03Z",
  "published": "2025-07-22T16:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2025-51480"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-51480"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/advisories/GHSA-6rq9-53c3-f7vj"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/onnx/onnx"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/onnx/onnx/pull/6959"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/onnx/onnx/pull/7040"
    },
    {
      "type": "REPORT",
      "url": "https://www.gecko.security/blog/cve-2025-51480"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2025-51480"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…