SCA: security update for gradio (GHSA-xh2x-3mrm-fwqm)

high Tenable Self-Hosted Container Security Plugin ID 420508

Description

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

- Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves a
**race condition** in the `update_root_in_config` function, allowing an attacker to modify the `root` URL
used by the Gradio frontend to communicate with the backend. By exploiting this flaw, an attacker can
redirect user traffic to a malicious server. This could lead to the interception of sensitive data such as
authentication credentials or uploaded files. This impacts all users who connect to a Gradio server,
especially those exposed to the internet, where malicious actors could exploit this race condition. Users
are advised to upgrade to `gradio>=5` to address this issue. There are no known workarounds for this
issue. (CVE-2024-47870)

See Also

https://github.com/advisories/GHSA-xh2x-3mrm-fwqm

Plugin Details

Severity: High

ID: 420508

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.58

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.6

Temporal Score: 5.6

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

CVSS Score Source: CVE-2024-47870

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

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

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

CVSS v4

Risk Factor: High

Base Score: 8.8

Threat Score: 6.8

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/10/2024

Vulnerability Publication Date: 10/10/2024

Reference Information

CVE: CVE-2024-47870

cwe: CWE-362