CVE-2024-1729
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.
How to fix
- gradio_project gradio4.19.2 or later
- gradio4.19.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gradio_project gradio | 4.18.0 ≤ v < 4.19.2 | 4.19.2 |
| gradioPyPI | v < 4.19.2 | 4.19.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.