Vulnerability Description
A timing attack vulnerability exists in the gradio-app/gradio repository, specifically within the login function in routes.py. The vulnerability arises from the use of a direct comparison operation (`app.auth[username] == password`) to validate user credentials, which can be exploited to guess passwords based on response times. Successful exploitation of this vulnerability could allow an attacker to bypass authentication mechanisms and gain unauthorized access.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gradio Project | Gradio | >= 4.18.0, < 4.19.2 |
Related Weaknesses (CWE)
References
- https://github.com/gradio-app/gradio/commit/e329f1fd38935213fe0e73962e8cbd5d3af6Patch
- https://huntr.com/bounties/f6a10a8d-f538-4cb7-9bb2-85d9f5708124ExploitThird Party Advisory
- https://github.com/gradio-app/gradio/commit/e329f1fd38935213fe0e73962e8cbd5d3af6Patch
- https://huntr.com/bounties/f6a10a8d-f538-4cb7-9bb2-85d9f5708124ExploitThird Party Advisory
FAQ
What is CVE-2024-1729?
CVE-2024-1729 is a vulnerability with a CVSS score of 5.9 (MEDIUM). A timing attack vulnerability exists in the gradio-app/gradio repository, specifically within the login function in routes.py. The vulnerability arises from the use of a direct comparison operation (`...
How severe is CVE-2024-1729?
CVE-2024-1729 has been rated MEDIUM with a CVSS base score of 5.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-1729?
Check the references section above for vendor advisories and patch information. Affected products include: Gradio Project Gradio.