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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
gradio-app gradio-app/gradio
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Gradio是Gradio开源的一个开源 Python 库,是通过友好的 Web 界面演示机器学习模型的方法。 Gradio 98cbcae版本存在资源管理错误漏洞,该漏洞源于gr.Datetime组件使用的正则表达式可能导致正则表达式拒绝服务,攻击者可通过发送特制HTTP请求使gradio进程消耗100% CPU,从而导致服务器拒绝服务。

AI Predicted 7.5 Difficulty: Easy EPSS 1.08% · P64

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service
Get alerts for future matching vulnerabilities Log 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: CVE Program / CVE List V5
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: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
CWE-1333
Source: CVE Program / CVE List V5
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

Vendor Product Affected Versions CPE Subscribe
gradio-app gradio-app/gradio unspecified ~ latest -

II. Public POCs for CVE-2024-10624

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-10624

请登录查看更多情报信息。

Vendor Advisories for CVE-2024-10624 (1)

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

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-10624

No comments yet


Leave a comment