8.8

CVE-2024-5187: linuxfoundation onnx Path Traversal

CVSS: 8.8v3.0HighModified
AliasesGHSA-6rq9-53c3-f7vjCVE-2025-51480PYSEC-2025-148
Published 06-06-2024Last modified 01-08-2024

Vulnerability summary

CVE-2024-5187 is a high (CVSS 8.8) Path Traversal vulnerability in linuxfoundation onnx. EPSS estimates a 1.18% chance of exploitation in the next 30 days, higher than 67.1% of scored vulnerabilities. 3 public exploits are recorded.

Overall risk
45/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.0 (CVE.org)
EPSS score
1.18%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits3github, reference

Timeline

  1. 06-06-2024
    PublishedVulnerability first disclosed.
  2. 01-08-2024
    Last modifiedVulnerability information updated.

Description

A vulnerability in the `download_model_with_test_data` function of the onnx/onnx framework, version 1.16.0, allows for arbitrary file overwrite due to inadequate prevention of path traversal attacks in malicious tar files. This vulnerability enables attackers to overwrite any file on the system, potentially leading to remote code execution, deletion of system, personal, or application files, thus impacting the integrity and availability of the system. The issue arises from the function's handling of tar file extraction without performing security checks on the paths within the tar file, as demonstrated by the ability to overwrite the `/home/kali/.ssh/authorized_keys` file by specifying an absolute path in the malicious tar file.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

1.18%

Chance of exploitation in the next 30 days

Percentile

67%

Versus all other CVEs

30-day change

0.00 pp

From 1.18% on 19-09-2026

19-09-202619-10-2026
EPSS score
1.18%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

3 found
  • githubUnverified

    Onnx

    Maturity: poc

  • referenceUnverified

    Exploit Reference (huntr.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (gecko.security)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • onnx< 1.16.2-1
Linuxfoundation1 product
Onnx1 product
PyPI1 product
  • onnx< 1.16.2 | ≤ 1.17.0
Ubuntu1 product
  • onnx< 1.14.1-2.1ubuntu0.1~esm1 | All versions (No fix recorded)

5 vendors · 5 products

References

21 links
Show all 21 references