pysec-2024-222
Vulnerability from pysec
Published
2024-02-23 18:15
Modified
2025-01-22 16:23
Details

Versions of the package onnx before and including 1.15.0 are vulnerable to Directory Traversal as the external_data field of the tensor proto can have a path to the file which is outside the model current directory or user-provided directory. The vulnerability occurs as a bypass for the patch added for CVE-2022-25882.

Aliases



{
   affected: [
      {
         package: {
            ecosystem: "PyPI",
            name: "onnx",
            purl: "pkg:pypi/onnx",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "0",
                  },
                  {
                     fixed: "66b7fb630903fdcf3e83b6b6d56d82e904264a20",
                  },
                  {
                     fixed: "66b7fb630903fdcf3e83b6b6d56d82e904264a20",
                  },
               ],
               repo: "https://github.com/onnx/onnx",
               type: "GIT",
            },
            {
               events: [
                  {
                     introduced: "0",
                  },
                  {
                     fixed: "1.16.0",
                  },
               ],
               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.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-27318",
   ],
   details: "Versions of the package onnx before and including 1.15.0 are vulnerable to Directory Traversal as the external_data field of the tensor proto can have a path to the file which is outside the model current directory or user-provided directory. The vulnerability occurs as a bypass for the patch added for CVE-2022-25882.\n",
   id: "PYSEC-2024-222",
   modified: "2025-01-22T16:23:21.994731+00:00",
   published: "2024-02-23T18:15:50+00:00",
   references: [
      {
         type: "FIX",
         url: "https://github.com/onnx/onnx/commit/66b7fb630903fdcf3e83b6b6d56d82e904264a20",
      },
      {
         type: "WEB",
         url: "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FGTBH5ZYL2LGYHIJDHN2MAUURIR5E7PY/",
      },
      {
         type: "WEB",
         url: "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TFJJID2IZDOLFDMWVYTBDI75ZJQC6JOL/",
      },
      {
         type: "WEB",
         url: "https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479",
      },
   ],
   severity: [
      {
         score: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
         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.