SCA: security update for gradio (GHSA-279j-x4gx-hfrh)

high Tenable Self-Hosted Container Security Plugin ID 408761

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
**insecure communication** between the FRP (Fast Reverse Proxy) client and server when Gradio's
`share=True` option is used. HTTPS is not enforced on the connection, allowing attackers to intercept and
read files uploaded to the Gradio server, as well as modify responses or data sent between the client and
server. This impacts users who are sharing Gradio demos publicly over the internet using `share=True`
without proper encryption, exposing sensitive data to potential eavesdroppers. Users are advised to
upgrade to `gradio>=5` to address this issue. As a workaround, users can avoid using `share=True` in
production environments and instead host their Gradio applications on servers with HTTPS enabled to ensure
secure communication. (CVE-2024-47871)

See Also

https://github.com/advisories/GHSA-279j-x4gx-hfrh

Plugin Details

Severity: High

ID: 408761

Version: Revision 1.9

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.3

Percentile: 53.37

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 9.4

Temporal Score: 7

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

CVSS Score Source: CVE-2024-47871

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

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

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

CVSS v4

Risk Factor: High

Base Score: 8.6

Threat Score: 6.2

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/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-47871

cwe: CWE-311