Gradio Vulnerability: Command Injection in 'test-functional.yml' Workflow
CVE-2024-4253
9.1CRITICAL
What is CVE-2024-4253?
A command injection vulnerability is identified within the Gradio app's 'test-functional.yml' workflow. This flaw stems from inadequate sanitization of command elements, allowing for unauthorized modifications to the base repository and potential exfiltration of sensitive secrets such as 'GITHUB_TOKEN', 'COMMENT_TOKEN', and 'CHROMATIC_PROJECT_TOKEN'. The issue primarily affects versions up to and including '@gradio/video@0.6.12'. The vulnerability arises from the way GitHub context information is processed, echoing sensitive repository details without appropriate neutralization, which could be exploited by malicious actors.
Affected Version(s)
gradio-app/gradio < 4.29.0
References
CVSS V3.1
Score:
9.1
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
CVSS V3.0
Score:
7.5
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged
Timeline
Vulnerability published
Vulnerability Reserved
