SCA: security update for gradio (GHSA-4q3c-cj7g-jcwf)

medium Tenable Cloud Security Plugin ID 410333

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 is a **data validation
vulnerability** affecting several Gradio components, which allows arbitrary file leaks through the post-
processing step. Attackers can exploit these components by crafting requests that bypass expected input
constraints. This issue could lead to sensitive files being exposed to unauthorized users, especially when
combined with other vulnerabilities, such as issue TOB-GRADIO-15. The components most at risk are those
that return or handle file data. Vulnerable Components: 1. **String to FileData:** DownloadButton, Audio,
ImageEditor, Video, Model3D, File, UploadButton. 2. **Complex data to FileData:** Chatbot,
MultimodalTextbox. 3. **Direct file read in preprocess:** Code. 4. **Dictionary converted to FileData:**
ParamViewer, Dataset. Exploit Scenarios: 1. A developer creates a Dropdown list that passes values to a
DownloadButton. An attacker bypasses the allowed inputs, sends an arbitrary file path (like
`/etc/passwd`), and downloads sensitive files. 2. An attacker crafts a malicious payload in a ParamViewer
component, leaking sensitive files from a server through the arbitrary file leak. This issue has been
resolved in `gradio>5.0`. Upgrading to the latest version will mitigate this vulnerability. There are no
known workarounds for this vulnerability. (CVE-2024-47868)

See Also

https://github.com/advisories/GHSA-4q3c-cj7g-jcwf

Plugin Details

Severity: Medium

ID: 410333

Version: Revision 1.6

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: Low

Score: 3

Percentile: 23.51

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

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

CVSS Score Source: CVE-2024-47868

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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

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

CVSS v4

Risk Factor: Medium

Base Score: 6.9

Threat Score: 5.5

Threat Vector: CVSS:4.0/E:P

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/10/2024

Vulnerability Publication Date: 10/10/2024

Reference Information

CVE: CVE-2024-47868