CVE-2024-1540 – gradio
Package
Manager: pip
Name: gradio
Vulnerable Version: <0
Severity
Level: High
CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
CVSS v4.0: N/A
EPSS: 0.00402 pctl0.60023
Details
Gradio's CI vulnerable to Command Injection 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 an action definition which is evaluated and substituted before script execution. Remediation involves setting untrusted input values to intermediate environment variables to prevent direct influence on script generation.
Metadata
Created: 2024-03-27T18:32:38Z
Modified: 2024-04-16T15:50:40Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/03/GHSA-xcgp-r7r8-2hc9/GHSA-xcgp-r7r8-2hc9.json
CWE IDs: ["CWE-77"]
Alternative ID: GHSA-xcgp-r7r8-2hc9
Finding: N/A
Auto approve: 0