A Cross-Site Request Forgery (CSRF) vulnerability in gradio-app/gradio allows attackers to upload multiple large files to a victim's system if they are running Gradio locally. By crafting a malicious HTML page that triggers an unauthorized file upload to the victim's server, an attacker can deplete the system's disk space, potentially leading to a denial of service. This issue affects the file upload functionality as implemented in gradio/routes.py.
{
"cna_assigner": "@huntr_ai",
"cwe_ids": [
"CWE-352"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/1xxx/CVE-2024-1727.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:*",
"range": [
{
"introduced": "4.16.0"
},
{
"fixed": "4.19.2"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "84802ee6a4806c25287344dce581f9548a99834a"
}
],
"source": "REFERENCES_COMMIT"
}
]
}