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/video@0.6.12'. 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'.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: @huntr_ai
Published: 2024-06-04T07:30:56.458Z
Updated: 2024-08-01T20:33:53.075Z
Reserved: 2024-04-26T12:42:44.197Z
Link: CVE-2024-4253
Vulnrichment
Updated: 2024-08-01T20:33:53.075Z
NVD
Status : Awaiting Analysis
Published: 2024-06-04T08:15:10.863
Modified: 2024-06-04T16:57:41.053
Link: CVE-2024-4253
Redhat
No data.