CVE-2024-4253
CRITICALgradio-app/gradio <@gradio/[email protected] - Command Injection
Title source: llmDescription
A command injection vulnerability exists in the gradio-app/gradio repository, specifically within the 'test-functional.yml' workflow. The vulnerability arises due to improper neutralization of special elements used in a command, allowing for unauthorized modification of the base repository or secrets exfiltration. The issue affects versions up to and including '@gradio/[email protected]'. The flaw is present in the workflow's handling of GitHub context information, where it echoes the full name of the head repository, the head branch, and the workflow reference without adequate sanitization. This could potentially lead to the exfiltration of sensitive secrets such as 'GITHUB_TOKEN', 'COMMENT_TOKEN', and 'CHROMATIC_PROJECT_TOKEN'.
References (2)
Core 2
Core References
Exploit, Third Party Advisory
https://huntr.com/bounties/23cb3749-8ae9-4e1a-9023-4a20ca6b675e
Scores
CVSS v3
9.1
EPSS
0.0190
EPSS Percentile
83.4%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-78
Status
published
Products (1)
gradio_project/gradio
< 4.29.0
Published
Jun 04, 2024
Tracked Since
Feb 18, 2026