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 trend (30 days)EPSS over the last 30 days for CVE-2024-4253: held from 0.017 to 0.017.

EPSS over last 30 days · oldest: 0.017 · newest: 0.017 · change: +0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.