onnx: A vulnerability in the `download_model_with_test_data` function of the onnx/onnx framework, version 1.16.0, allows fo...
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.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| libonnx-testdata · Ubuntu 24.04.5 LTS (noble) | 1.14.1-2.1ubuntu0.1~esm1 | libonnx-testdata 1.14.1-2.1ubuntu0.1~esm1 | Jun 6, 2024 |
| libonnx1t64 · Ubuntu 24.04.5 LTS (noble) | 1.14.1-2.1ubuntu0.1~esm1 | libonnx1t64 1.14.1-2.1ubuntu0.1~esm1 | Jun 6, 2024 |
| onnx · Debian 13.5 (trixie) | 1.16.2-1 | DEBIAN-CVE-2024-5187 | Jun 6, 2024 |
| onnx · Debian 14 | 1.16.2-1 | DEBIAN-CVE-2024-5187 | Jun 6, 2024 |
| python3-onnx · Ubuntu 24.04.5 LTS (noble) | 1.14.1-2.1ubuntu0.1~esm1 | python3-onnx 1.14.1-2.1ubuntu0.1~esm1 | Jun 6, 2024 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.