CVE-2024-47868
概要

Gradio is an open-source Python package designed for quick prototyping. This is a **data validation vulnerability** affecting several Gradio components, which allows arbitrary file leaks through the post-processing step. Attackers can exploit these components by crafting requests that bypass expected input constraints. This issue could lead to sensitive files being exposed to unauthorized users, especially when combined with other vulnerabilities, such as issue TOB-GRADIO-15. The components most at risk are those that return or handle file data. Vulnerable Components: 1. **String to FileData:** DownloadButton, Audio, ImageEditor, Video, Model3D, File, UploadButton. 2. **Complex data to FileData:** Chatbot, MultimodalTextbox. 3. **Direct file read in preprocess:** Code. 4. **Dictionary converted to FileData:** ParamViewer, Dataset. Exploit Scenarios: 1. A developer creates a Dropdown list that passes values to a DownloadButton. An attacker bypasses the allowed inputs, sends an arbitrary file path (like `/etc/passwd`), and downloads sensitive files. 2. An attacker crafts a malicious payload in a ParamViewer component, leaking sensitive files from a server through the arbitrary file leak. This issue has been resolved in `gradio>5.0`. Upgrading to the latest version will mitigate this vulnerability. There are no known workarounds for this vulnerability.

公表日 2024年10月11日8:15
登録日 2024年10月11日12:00
最終更新日 2024年10月18日2:04
CVSS3.1 : HIGH
スコア 7.5
ベクター CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I) なし
可用性への影響(A) なし
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:* 5.0.0
関連情報、対策とツール
共通脆弱性一覧

JVN脆弱性情報
Gradio project の Python 用 Gradio におけるパストラバーサルの脆弱性
タイトル Gradio project の Python 用 Gradio におけるパストラバーサルの脆弱性
概要

Gradio project の Python 用 Gradio には、パストラバーサルの脆弱性が存在します。

想定される影響 情報を取得される可能性があります。
対策

参考情報を参照して適切な対策を実施してください。

公表日 2024年10月10日0:00
登録日 2024年10月22日16:28
最終更新日 2024年10月22日16:28
影響を受けるシステム
Gradio project
Gradio 5.0.0 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
変更履歴
No 変更内容 変更日
1 [2024年10月22日]
  掲載
2024年10月22日16:28