Lucene search

K
githubGitHub Advisory DatabaseGHSA-XCGP-R7R8-2HC9
HistoryMar 27, 2024 - 6:32 p.m.

Gradio's CI vulnerable to Command Injection

2024-03-2718:32:38
CWE-77
GitHub Advisory Database
github.com
6
gradio's
ci
command injection
vulnerability
fix
software

8.6 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

LOW

Availability Impact

LOW

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

0.0004 Low

EPSS

Percentile

9.1%

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.

Affected configurations

Vulners
Node
gradio_projectgradioRange<4.18.0python
CPENameOperatorVersion
gradiolt4.18.0

8.6 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

LOW

Availability Impact

LOW

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

0.0004 Low

EPSS

Percentile

9.1%

Related for GHSA-XCGP-R7R8-2HC9