Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-10624— Regular Expression Denial of Service (ReDoS) in gradio-app/gradio

EPSS 0.82% · P75
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-10624

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Regular Expression Denial of Service (ReDoS) in gradio-app/gradio
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
CWE-1333
Source: NVD (National Vulnerability Database)
Vulnerability Title
Gradio 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Gradio是Gradio开源的一个开源 Python 库,是通过友好的 Web 界面演示机器学习模型的方法。 Gradio 98cbcae版本存在资源管理错误漏洞,该漏洞源于gr.Datetime组件使用的正则表达式可能导致正则表达式拒绝服务,攻击者可通过发送特制HTTP请求使gradio进程消耗100% CPU,从而导致服务器拒绝服务。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
gradio-appgradio-app/gradio unspecified ~ latest -

II. Public POCs for CVE-2024-10624

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-10624

登录查看更多情报信息。

Same Patch Batch · gradio-app · 2025-03-20 · 7 CVEs total

CVE-2025-0187Denial of Service (DoS) by Sending Large Filename at File Upload Endpoint in gradio-app/gr
CVE-2024-12217Path Traversal in gradio-app/gradio
CVE-2024-8966Denial of Service in gradio-app/gradio
CVE-2024-8021Open Redirect in gradio-app/gradio
CVE-2024-10648Path Traversal in gradio-app/gradio
CVE-2024-10569Zip Bomb Vulnerability in gradio-app/gradio

IV. Related Vulnerabilities

V. Comments for CVE-2024-10624

No comments yet


Leave a comment