PT-2024-30004 · Unknown · @Gradio/Video+1
Published
2024-06-04
·
Updated
2025-10-15
·
CVE-2024-4253
CVSS v3.1
9.1
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
@gradio/video versions up to and including 0.6.12
Description
A command injection issue exists in the gradio-app/gradio repository, specifically within the 'test-functional.yml' workflow. This issue arises due to improper neutralization of special elements used in a command, allowing for unauthorized modification of the base repository or secrets exfiltration. 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.Recommendations
For versions up to and including 0.6.12, update to a version later than 0.6.12 to resolve the issue. As a temporary workaround, consider restricting access to the 'test-functional.yml' workflow to minimize the risk of exploitation. Avoid using sensitive secrets such as
GITHUB TOKEN, COMMENT TOKEN, and CHROMATIC PROJECT TOKEN in the workflow until the issue is resolved.Exploit
Fix
OS Command Injection
Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
@Gradio/Video
Gradio-App/Gradio