SCA: security update for onnx (GHSA-6rq9-53c3-f7vj)

high Tenable Self-Hosted Container Security Plugin ID 421383

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2024-5187)

Solution

Update the onnx library and its related packages to version 1.16.2 or later.

See Also

https://github.com/advisories/GHSA-6rq9-53c3-f7vj

Plugin Details

Severity: High

ID: 421383

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 3/28/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 97.07

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2024-5187

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/6/2024

Vulnerability Publication Date: 6/6/2024

Reference Information

CVE: CVE-2024-5187

cwe: CWE-22