CVE-2024-1728 – gradio
Package
Manager: pip
Name: gradio
Vulnerable Version: >=0 <4.19.2
Severity
Level: High
CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS: 0.81338 pctl0.99132
Details
Gradio Local File Inclusion vulnerability gradio-app/gradio is vulnerable to a local file inclusion vulnerability due to improper validation of user-supplied input in the UploadButton component. Attackers can exploit this vulnerability to read arbitrary files on the filesystem, such as private SSH keys, by manipulating the file path in the request to the `/queue/join` endpoint. This issue could potentially lead to remote code execution. The vulnerability is present in the handling of file upload paths, allowing attackers to redirect file uploads to unintended locations on the server.
Metadata
Created: 2024-04-10T18:30:48Z
Modified: 2024-04-10T22:12:50Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-3f95-mxq2-2f63/GHSA-3f95-mxq2-2f63.json
CWE IDs: ["CWE-22"]
Alternative ID: GHSA-3f95-mxq2-2f63
Finding: F063
Auto approve: 1