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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-51751— Arbitrary file read with File and UploadButton components in Gradio

Quick assessment

Affected
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 5.0.0至5.4.0版本存在安全漏洞,该漏洞源于File或UploadButton组件在作为Gradio应用的一部分用于预览文件内容时,可能会被拥有应用访问权限的攻击者滥用,以读取应用服务器上的任意文件。

CVSS 6.5 · Medium EPSS 0.69% · P51

Possible ATT&CK Techniques 1 AI

T1083 · File and Directory Discovery
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-51751

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
Arbitrary file read with File and UploadButton components in Gradio
Source: CVE Program / CVE List V5
Vulnerability Description
Gradio is an open-source Python package designed to enable quick builds of a demo or web application. If File or UploadButton components are used as a part of Gradio application to preview file content, an attacker with access to the application might abuse these components to read arbitrary files from the application server. This issue has been addressed in release version 5.5.0 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Gradio 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Gradio是Gradio开源的一个开源 Python 库,是通过友好的 Web 界面演示机器学习模型的方法。 Gradio 5.0.0至5.4.0版本存在安全漏洞,该漏洞源于File或UploadButton组件在作为Gradio应用的一部分用于预览文件内容时,可能会被拥有应用访问权限的攻击者滥用,以读取应用服务器上的任意文件。
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 >= 5.0.0, < 5.5.0 -

II. Public POCs for CVE-2024-51751

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

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-51751

No comments yet


Leave a comment