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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-2206— SSRF Vulnerability 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是一个开源 Python 库,是通过友好的 Web 界面演示机器学习模型的方法。 Gradio 存在代码问题漏洞,该漏洞源于proxy 路由允许用户代理任意 URL,包括内部端点。

AI Predicted 6.5 Difficulty: Moderate EPSS 0.42% · P34
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-2206

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
SSRF Vulnerability in gradio-app/gradio
Source: CVE Program / CVE List V5
Vulnerability Description
An SSRF vulnerability exists in the gradio-app/gradio due to insufficient validation of user-supplied URLs in the `/proxy` route. Attackers can exploit this vulnerability by manipulating the `self.replica_urls` set through the `X-Direct-Url` header in requests to the `/` and `/config` routes, allowing the addition of arbitrary URLs for proxying. This flaw enables unauthorized proxying of requests and potential access to internal endpoints within the Hugging Face space. The issue arises from the application's inadequate checking of safe URLs in the `build_proxy_request` function.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
服务端请求伪造(SSRF)
Source: CVE Program / CVE List V5
Vulnerability Title
Gradio 代码问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Gradio是一个开源 Python 库,是通过友好的 Web 界面演示机器学习模型的方法。 Gradio 存在代码问题漏洞,该漏洞源于proxy 路由允许用户代理任意 URL,包括内部端点。
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 ~ 4.18 -

II. Public POCs for CVE-2024-2206

# 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-2206

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

Patches & Fixes for CVE-2024-2206 (1)

Vendor Advisories for CVE-2024-2206 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-2206

No comments yet


Leave a comment