{
  "cveId": "CVE-2024-5187",
  "url": "https://patchblox.com/security/cve/CVE-2024-5187",
  "summary": "CVE-2024-5187 is fixed in 4 products on 1 platform, first by libonnx-testdata 1.14.1-2.1ubuntu0.1~esm1, released June 6, 2024. It is not reported as exploited. Patch Radar priority: High.",
  "title": "onnx: A vulnerability in the \u0060download_model_with_test_data\u0060 function of the onnx/onnx framework, version 1.16.0, allows fo...",
  "description": "A vulnerability in the \u0060download_model_with_test_data\u0060 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\u0027s handling of tar file extraction without performing security checks on the paths within the tar file, as demonstrated by the ability to overwrite the \u0060/home/kali/.ssh/authorized_keys\u0060 file by specifying an absolute path in the malicious tar file.",
  "published": "2024-06-06T12:16:00Z",
  "severity": "high",
  "cvss": 8.8,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
  "epss": 0.01168,
  "epssPercentile": 0.67566,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "libonnx-testdata",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "1.14.1-2.1ubuntu0.1~esm1",
      "fix": "libonnx-testdata 1.14.1-2.1ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-libonnx-testdata-1.14.1-2.1ubuntu0.1-esm1",
      "released": "2024-06-06T12:16:00Z"
    },
    {
      "platform": "linux",
      "product": "libonnx1t64",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "1.14.1-2.1ubuntu0.1~esm1",
      "fix": "libonnx1t64 1.14.1-2.1ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-libonnx1t64-1.14.1-2.1ubuntu0.1-esm1",
      "released": "2024-06-06T12:16:00Z"
    },
    {
      "platform": "linux",
      "product": "onnx",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "1.16.2-1",
      "fix": "DEBIAN-CVE-2024-5187",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-5187",
      "released": "2024-06-06T19:16:06Z"
    },
    {
      "platform": "linux",
      "product": "onnx",
      "release": "Debian 14",
      "fixedVersion": "1.16.2-1",
      "fix": "DEBIAN-CVE-2024-5187",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-5187",
      "released": "2024-06-06T19:16:06Z"
    },
    {
      "platform": "linux",
      "product": "python3-onnx",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "1.14.1-2.1ubuntu0.1~esm1",
      "fix": "python3-onnx 1.14.1-2.1ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-python3-onnx-1.14.1-2.1ubuntu0.1-esm1",
      "released": "2024-06-06T12:16:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T13:06:02Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}