RCE in Gradio-App Gradio-App/gradio
CVE-2024-4253
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'.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS: 0.017 (76.4th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 76th percentile — 76.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.017 · newest: 0.017 · change: +0.000
Affected products
- Gradio-App Gradio-App/gradio — versions unspecified
- Gradio Project
Weakness classification (CWE)
Public proof-of-concept exploits
References
- huntr.com/bounties/23cb3749-8ae9-4e1a-9023-4a20ca6b675e (Exploit, Third Party Advisory)
- github.com/gradio-app/gradio/commit/a0e70366a8a406fdd80abb21e8c88a3c8e682a2b (Patch)
Frequently asked questions
- What is CVE-2024-4253?
- CVE-2024-4253 is a critical-severity vulnerability in Gradio-App Gradio-App/gradio, classified under OS Command Injection. CVSS score: 9.1/10. Published 2024-06-04.
- How severe is CVE-2024-4253?
- Critical severity. CVSS v3 base score is 9.1 out of 10.
- Is CVE-2024-4253 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.