CVE-2024-10624
Gradio vulnerability analysis and mitigation

Overview

A Regular Expression Denial of Service (ReDoS) vulnerability exists in the gradio-app/gradio repository, affecting the gr.Datetime component. The vulnerability was discovered in git commit 98cbcae. This security issue stems from the implementation of a specific regular expression pattern used for processing user input (NVD).

Technical details

The vulnerability arises from the use of a regular expression ^(?:\s*now\s*(?:-\s*(\d+)\s*([dmhs])))?\s*$ to process user input. In Python's default regex engine, this regular expression can take polynomial time to match certain crafted inputs. The vulnerability has been assigned a CVSS v3.0 base score of 7.5 (HIGH) with the vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

An attacker can exploit this vulnerability by sending a crafted HTTP request, causing the gradio process to consume 100% CPU and potentially leading to a Denial of Service (DoS) condition on the server (NVD).

Additional resources


SourceThis report was generated using AI

Related Gradio vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-48889HIGH7.5
  • GradioGradio
  • gradio
NoYesMay 30, 2025
CVE-2024-8966HIGH7.5
  • GradioGradio
  • gradio
NoNoMar 20, 2025
CVE-2025-5320MEDIUM6.3
  • GradioGradio
  • gradio
NoNoMay 29, 2025
CVE-2024-8021MEDIUM6.1
  • GradioGradio
  • gradio
NoNoMar 20, 2025
CVE-2024-12217MEDIUM5.3
  • GradioGradio
  • gradio
NoNoMar 20, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management