MediumVulnerability
CVE-2024-10624: gradio Datetime component ReDoS via crafted HTTP request
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2024-10624
- Published
- Record updated
- Affected
- gradio >= 4.38.0, <= 5.0.0-beta.2
- Fixed in
- No fixed version was stated when the source was last read.
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 1.1%
Summary
CVE-2024-10624 is a Regular Expression Denial of Service (ReDoS) flaw in the gr.Datetime component of the gradio-app/gradio repository, affecting git commit 98cbcae. The component applies the regex ^(?:\s*now\s*(?:-\s*(\d+)\s*([dmhs]))?)?\s*$ to user input, and in Python's default regex engine certain crafted inputs take polynomial time to match. An attacker can send a crafted HTTP request to drive the gradio process to 100% CPU, potentially causing a Denial of Service on the server.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- gradioPyPILLM dependency since 2023-03-14 · 11 tracked dependents
Related items
- LowCloakFEM: Agentic FEM Code Generation for Red-Teaming Computational Resource ExhaustionSimilar attack · Arxiv (cs.CR + cs.CL + cs.LG)
- MediumThe Rise of LLMJacking: How Threat Actors Monetize Compromised Cloud and Model ResourcesSimilar attack · Google Threat Intelligence
- InfoThe Blind Spots of Detection: Adversarial Perturbation Attacks against Watchdogs in Distributed LLM InferenceSimilar attack · Arxiv (cs.CR + cs.CL + cs.LG)
- HighCVE-2026-118761: Kubeflow Pipelines decompression bomb in pipeline archive uploadSimilar attack · NVD/CVE Database
- LowOpenCode User Hit with Hostile Backlash After Reporting Free AI LoopholeSimilar attack · Socket Blog