CVE-2024-4253
Last modified
CVE-2024-4253 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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. EPSS estimates a 1.69% chance of exploitation in the next 30 days.
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'.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gradio Project | Gradio | < 4.29.0 |
References
- https://huntr.com/bounties/23cb3749-8ae9-4e1a-9023-4a20ca6b675eExploit, Third Party Advisory
- https://huntr.com/bounties/23cb3749-8ae9-4e1a-9023-4a20ca6b675eExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-4253?
How severe is CVE-2024-4253?
How do I fix CVE-2024-4253?
Are you affected by CVE-2024-4253?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
