SCA: security update for gradio (GHSA-xcgp-r7r8-2hc9)

high Tenable Self-Hosted Container Security Plugin ID 420434

Description

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

- A command injection vulnerability exists in the deploy+test-visual.yml workflow of the gradio-app/gradio
repository, due to improper neutralization of special elements used in a command. This vulnerability
allows attackers to execute unauthorized commands, potentially leading to unauthorized modification of the
base repository or secrets exfiltration. The issue arises from the unsafe handling of GitHub context
information within a `run` operation, where expressions inside `${{ }}` are evaluated and substituted
before script execution. Remediation involves setting untrusted input values to intermediate environment
variables to prevent direct influence on script generation. (CVE-2024-1540)

See Also

https://github.com/advisories/GHSA-xcgp-r7r8-2hc9

Plugin Details

Severity: High

ID: 420434

Version: Revision 1.7

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

Percentile: 51.93

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 6.7

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

CVSS Score Source: CVE-2024-1540

CVSS v3

Risk Factor: High

Base Score: 8.2

Temporal Score: 7.4

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/27/2024

Vulnerability Publication Date: 3/27/2024

Reference Information

CVE: CVE-2024-1540

cwe: CWE-77