Skip to content

Commit 3f5f849

Browse files
1 parent ae38cb9 commit 3f5f849

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

advisories/github-reviewed/2024/06/GHSA-6rq9-53c3-f7vj/GHSA-6rq9-53c3-f7vj.json

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"schema_version": "1.4.0",
33
"id": "GHSA-6rq9-53c3-f7vj",
4-
"modified": "2024-10-23T17:39:17Z",
4+
"modified": "2025-01-27T23:08:34Z",
55
"published": "2024-06-06T21:30:37Z",
66
"aliases": [
77
"CVE-2024-5187"
88
],
99
"summary": "onnx allows Arbitrary File Overwrite in download_model_with_test_data",
10-
"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.",
10+
"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.",
1111
"severity": [
1212
{
1313
"type": "CVSS_V3",
@@ -28,7 +28,7 @@
2828
"introduced": "0"
2929
},
3030
{
31-
"fixed": "1.17.0"
31+
"fixed": "1.16.2"
3232
}
3333
]
3434
}
@@ -48,6 +48,10 @@
4848
"type": "WEB",
4949
"url": "https://github.com/onnx/onnx/pull/6145"
5050
},
51+
{
52+
"type": "WEB",
53+
"url": "https://github.com/onnx/onnx/pull/6222"
54+
},
5155
{
5256
"type": "WEB",
5357
"url": "https://github.com/onnx/onnx/commit/1b70f9b673259360b6a2339c4bd97db9ea6e552f"
@@ -60,6 +64,10 @@
6064
"type": "PACKAGE",
6165
"url": "https://github.com/onnx/onnx"
6266
},
67+
{
68+
"type": "WEB",
69+
"url": "https://github.com/onnx/onnx/releases/tag/v1.16.2"
70+
},
6371
{
6472
"type": "WEB",
6573
"url": "https://huntr.com/bounties/50235ebd-3410-4ada-b064-1a648e11237e"

0 commit comments

Comments
 (0)