From 3f5f849ddfd1733ff7e167aa632826e748a12971 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Mon, 27 Jan 2025 23:09:42 +0000 Subject: [PATCH] Publish GHSA-6rq9-53c3-f7vj --- .../GHSA-6rq9-53c3-f7vj/GHSA-6rq9-53c3-f7vj.json | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/advisories/github-reviewed/2024/06/GHSA-6rq9-53c3-f7vj/GHSA-6rq9-53c3-f7vj.json b/advisories/github-reviewed/2024/06/GHSA-6rq9-53c3-f7vj/GHSA-6rq9-53c3-f7vj.json index be702daa99c..bc7f7885007 100644 --- a/advisories/github-reviewed/2024/06/GHSA-6rq9-53c3-f7vj/GHSA-6rq9-53c3-f7vj.json +++ b/advisories/github-reviewed/2024/06/GHSA-6rq9-53c3-f7vj/GHSA-6rq9-53c3-f7vj.json @@ -1,13 +1,13 @@ { "schema_version": "1.4.0", "id": "GHSA-6rq9-53c3-f7vj", - "modified": "2024-10-23T17:39:17Z", + "modified": "2025-01-27T23:08:34Z", "published": "2024-06-06T21:30:37Z", "aliases": [ "CVE-2024-5187" ], "summary": "onnx allows Arbitrary File Overwrite in download_model_with_test_data", - "details": "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.", + "details": "A vulnerability in the `download_model_with_test_data` function of the onnx/onnx framework, versions before 1.16.2, allow 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.", "severity": [ { "type": "CVSS_V3", @@ -28,7 +28,7 @@ "introduced": "0" }, { - "fixed": "1.17.0" + "fixed": "1.16.2" } ] } @@ -48,6 +48,10 @@ "type": "WEB", "url": "https://github.com/onnx/onnx/pull/6145" }, + { + "type": "WEB", + "url": "https://github.com/onnx/onnx/pull/6222" + }, { "type": "WEB", "url": "https://github.com/onnx/onnx/commit/1b70f9b673259360b6a2339c4bd97db9ea6e552f" @@ -60,6 +64,10 @@ "type": "PACKAGE", "url": "https://github.com/onnx/onnx" }, + { + "type": "WEB", + "url": "https://github.com/onnx/onnx/releases/tag/v1.16.2" + }, { "type": "WEB", "url": "https://huntr.com/bounties/50235ebd-3410-4ada-b064-1a648e11237e"