CVE-2024-10624: high-severity vulnerability in gradio-app/gradio
Regular Expression Denial of Service (ReDoS) in gradio-app/gradio
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
A weakness in the gr.Datetime component of Gradio allows attackers to send specially crafted inputs that make the server spend excessive CPU time processing a regular expression, freezing the application and denying service to legitimate users.
A ReDoS vulnerability in the gr.Datetime component's regex pattern `^(?:\s*now\s*(?:-\s*(\d+)\s*([dmhs]))?)?\s*$` permits unauthenticated remote attackers to trigger polynomial-time regex matching via crafted HTTP requests, exhausting CPU resources and causing denial of service.
In the same product, most dangerous first.