Vulnerability

CVE-2024-10624

highCVSS 3.0 7.5Published 20 Mar 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

A Regular Expression Denial of Service (ReDoS) vulnerability exists in the gradio-app/gradio repository, affecting the gr.Datetime component. The affected version is git commit 98cbcae. 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. An attacker can exploit this 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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Gradio Project gradio

Weakness type

References

  • huntr.com /bounties/e8d0b248-8feb-4c23-9ef9-be4d1e868374

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning