What’s Vulnerable › Vulnerabilities

CVE-2024-1729: Timing Attack Vulnerability in gradio-app/gradio

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.

Affected products

How to fix

Upgrade to a fixed version: gradio-app gradio 4.19.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-1729 or the next vulnerability affects your stack