Command Injection in gradio-app/gradio
Published Jun 4, 2024
9.1
CRITICALCVSS 3.1
EPSS 1.70%
Description
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'.
Affected products
-
- Version unspecifiedStatusaffectedConstraints<4.29.0
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Gradio-App | Gradio-App/gradio | n/a |
|
- < 4.29.0
-
- Version 0StatusaffectedConstraints<4.29.0
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Gradio Project | Gradio | affected |
|
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (3)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-32805 Advisory
- https://github.com/gradio-app/gradio/commit/a0e70366a8a406fdd80abb21e8c88a3c8e682a2b Patch
- https://huntr.com/bounties/23cb3749-8ae9-4e1a-9023-4a20ca6b675e ExploitThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-32805 | Advisory | |
| https://github.com/gradio-app/gradio/commit/a0e70366a8a406fdd80abb21e8c88a3c8e682a2b | Patch | |
| https://huntr.com/bounties/23cb3749-8ae9-4e1a-9023-4a20ca6b675e | ExploitThird Party Advisory |
Change history (0)
No recorded changes yet.