漏洞信息
# Gradio中使用File和UploadButton组件进行任意文件读取
## 漏洞概述
Gradio 是一个开源的 Python 包,用于快速构建演示或 Web 应用程序。如果 Gradio 应用程序中使用了 File 或 UploadButton 组件来预览文件内容,攻击者可能通过这些组件读取应用服务器上的任意文件。
## 影响版本
所有低于 5.5.0 的版本
## 漏洞细节
攻击者通过访问使用 File 或 UploadButton 组件的 Gradio 应用程序,可以读取服务器上的任意文件内容。这将导致文件泄露的风险。
## 影响
攻击者能够未经授权读取应用服务器上的任意文件,造成敏感数据泄露。建议用户升级到最新版本 5.5.0,因为目前没有已知的修复方法。
备注
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
Arbitrary file read with File and UploadButton components in Gradio
漏洞描述信息
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.
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
漏洞类别
对路径名的限制不恰当(路径遍历)
漏洞标题
Gradio 安全漏洞
漏洞描述信息
Gradio是Gradio开源的一个开源 Python 库,是通过友好的 Web 界面演示机器学习模型的方法。 Gradio 5.0.0至5.4.0版本存在安全漏洞,该漏洞源于File或UploadButton组件在作为Gradio应用的一部分用于预览文件内容时,可能会被拥有应用访问权限的攻击者滥用,以读取应用服务器上的任意文件。
CVSS信息
N/A
漏洞类别
其他