7.5
HIGH CVSS 3.1
CVE-2024-27318
Onnx Directory Traversal Vulnerability
Description

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.

INFO

Published Date :

Feb. 23, 2024, 6:15 p.m.

Last Modified :

Feb. 13, 2025, 6:17 p.m.

Remotely Exploit :

Yes !

Source :

6f8de1f0-f67e-45a6-b68f-98777fdb759c
Affected Products

The following products are affected by CVE-2024-27318 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Fedoraproject fedora
1 Linuxfoundation onnx
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH 6f8de1f0-f67e-45a6-b68f-98777fdb759c
CVSS 3.1 HIGH [email protected]
Solution
A directory traversal vulnerability exists in onnx, which could allow an attacker to access arbitrary files.
  • Update the affected onnx packages to a version greater than 1.15.0.
  • If prompted, restart affected services or the system.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-27318 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-27318 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-27318 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 6f8de1f0-f67e-45a6-b68f-98777fdb759c

    Feb. 13, 2025

    Action Type Old Value New Value
    Changed Description 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. 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.
  • Reanalysis by [email protected]

    Jan. 22, 2025

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*
  • Initial Analysis by [email protected]

    Jan. 22, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    Added CWE NIST CWE-22
    Added CPE Configuration OR *cpe:2.3:a:linuxfoundation:onnx:*:*:*:*:*:*:*:* versions up to (excluding) 1.16.0
    Changed Reference Type https://github.com/onnx/onnx/commit/66b7fb630903fdcf3e83b6b6d56d82e904264a20 No Types Assigned https://github.com/onnx/onnx/commit/66b7fb630903fdcf3e83b6b6d56d82e904264a20 Patch
    Changed Reference Type https://github.com/onnx/onnx/commit/66b7fb630903fdcf3e83b6b6d56d82e904264a20 No Types Assigned https://github.com/onnx/onnx/commit/66b7fb630903fdcf3e83b6b6d56d82e904264a20 Patch
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/FGTBH5ZYL2LGYHIJDHN2MAUURIR5E7PY/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/FGTBH5ZYL2LGYHIJDHN2MAUURIR5E7PY/ Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/FGTBH5ZYL2LGYHIJDHN2MAUURIR5E7PY/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/FGTBH5ZYL2LGYHIJDHN2MAUURIR5E7PY/ Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/TFJJID2IZDOLFDMWVYTBDI75ZJQC6JOL/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/TFJJID2IZDOLFDMWVYTBDI75ZJQC6JOL/ Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/TFJJID2IZDOLFDMWVYTBDI75ZJQC6JOL/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/TFJJID2IZDOLFDMWVYTBDI75ZJQC6JOL/ Third Party Advisory
    Changed Reference Type https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479 No Types Assigned https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479 Product
    Changed Reference Type https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479 No Types Assigned https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479 Product
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/onnx/onnx/commit/66b7fb630903fdcf3e83b6b6d56d82e904264a20
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/FGTBH5ZYL2LGYHIJDHN2MAUURIR5E7PY/
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/TFJJID2IZDOLFDMWVYTBDI75ZJQC6JOL/
    Added Reference https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479
  • CVE Modified by 6f8de1f0-f67e-45a6-b68f-98777fdb759c

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by 6f8de1f0-f67e-45a6-b68f-98777fdb759c

    Mar. 30, 2024

    Action Type Old Value New Value
    Added Reference HiddenLayer https://lists.fedoraproject.org/archives/list/[email protected]/message/TFJJID2IZDOLFDMWVYTBDI75ZJQC6JOL/ [No types assigned]
  • CVE Modified by 6f8de1f0-f67e-45a6-b68f-98777fdb759c

    Mar. 29, 2024

    Action Type Old Value New Value
    Added Reference HiddenLayer https://lists.fedoraproject.org/archives/list/[email protected]/message/FGTBH5ZYL2LGYHIJDHN2MAUURIR5E7PY/ [No types assigned]
  • CVE Received by 6f8de1f0-f67e-45a6-b68f-98777fdb759c

    Feb. 23, 2024

    Action Type Old Value New Value
    Added Description 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.
    Added Reference HiddenLayer https://github.com/onnx/onnx/commit/66b7fb630903fdcf3e83b6b6d56d82e904264a20 [No types assigned]
    Added Reference HiddenLayer https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479 [No types assigned]
    Added CWE HiddenLayer CWE-22
    Added CVSS V3.1 HiddenLayer AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact