CVE-2024-47084: Gradios's CORS origin validation is not performed when the request has a cookie
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.33431%
CWE
Published
10/10/2024
Updated
1/21/2025
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| gradio | pip | < 4.44.0 | 4.44.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability description explicitly mentions the CustomCORSMiddleware class as the location for workarounds. CORS middleware typically handles origin validation logic, and the cookie-related bypass condition would be implemented in the middleware's request handling flow (call method). The high confidence comes from: 1) Direct reference to CustomCORSMiddleware in mitigation guidance 2) Logical placement of CORS validation logic in middleware 3) Alignment with described vulnerability pattern (conditional origin check bypass).