SCA: security update for gradio (GHSA-37qc-qgx6-9xjv)

medium Tenable Self-Hosted Container Security Plugin ID 409379

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
**one-level read path traversal** in the `/custom_component` endpoint. Attackers can exploit this flaw to
access and leak source code from custom Gradio components by manipulating the file path in the request.
Although the traversal is limited to a single directory level, it could expose proprietary or sensitive
code that developers intended to keep private. This impacts users who have developed custom Gradio
components and are hosting them on publicly accessible servers. Users are advised to upgrade to
`gradio>=4.44` to address this issue. As a workaround, developers can sanitize the file paths and ensure
that components are not stored in publicly accessible directories. (CVE-2024-47166)

See Also

https://github.com/advisories/GHSA-37qc-qgx6-9xjv

Plugin Details

Severity: Medium

ID: 409379

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 6/19/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2024-47166

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

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

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

CVSS v4

Risk Factor: Medium

Base Score: 6.9

Threat Score: 2.7

Threat Vector: CVSS:4.0/E:U

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 Ease: No known exploits are available

Patch Publication Date: 10/10/2024

Vulnerability Publication Date: 10/10/2024

Reference Information

CVE: CVE-2024-47166

cwe: CWE-22