ubuntu-cve-2022-25882
Vulnerability from osv_ubuntu
Published
2023-01-26 21:15
Modified
2026-06-11 00:15
Summary
Details

Versions of the package onnx before 1.13.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, for example "../../../etc/passwd"


{
  "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"
      ]
    }
  ],
  "aliases": [],
  "details": "Versions of the package onnx before 1.13.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, for example \"../../../etc/passwd\"",
  "id": "UBUNTU-CVE-2022-25882",
  "modified": "2026-06-11T00:15:23Z",
  "published": "2023-01-26T21:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-25882"
    },
    {
      "type": "REPORT",
      "url": "https://gist.github.com/jnovikov/02a9aff9bf2188033e77bd91ff062856"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/onnx/onnx/blob/96516aecd4c110b0ac57eba08ac236ebf7205728/onnx/checker.cc%23L129"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988d"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/onnx/onnx/issues/3991"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/onnx/onnx/pull/4400"
    },
    {
      "type": "REPORT",
      "url": "https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2022-25882"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2022-25882"
  ]
}



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…

Loading…