CVE-2024-47872
概要

Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves **Cross-Site Scripting (XSS)** on any Gradio server that allows file uploads. Authenticated users can upload files such as HTML, JavaScript, or SVG files containing malicious scripts. When other users download or view these files, the scripts will execute in their browser, allowing attackers to perform unauthorized actions or steal sensitive information from their sessions. This impacts any Gradio server that allows file uploads, particularly those using components that process or display user-uploaded files. Users are advised to upgrade to `gradio>=5` to address this issue. As a workaround, users can restrict the types of files that can be uploaded to the Gradio server by limiting uploads to non-executable file types such as images or text. Additionally, developers can implement server-side validation to sanitize uploaded files, ensuring that HTML, JavaScript, and SVG files are properly handled or rejected before being stored or displayed to users.

公表日 2024年10月11日8:15
登録日 2024年10月11日12:00
最終更新日 2024年10月18日1:54
CVSS3.1 : MEDIUM
スコア 5.4
ベクター CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/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月18日10:37
最終更新日 2024年10月18日10:37
影響を受けるシステム
Gradio project
Gradio 5.0.0 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
変更履歴
No 変更内容 変更日
1 [2024年10月18日]
  掲載
2024年10月18日10:37