CVE-2024-1729

MEDIUM
Published Mar 29, 2024 Modified Jul 30, 2025 CWE-367

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.

Is your site exposed to CVE-2024-1729?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

5.9
MEDIUM
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Weakness Type (CWE)

CWE-367 CWE-367

Affected Products

Vendor Product
gradio_project gradio

References

Frequently Asked Questions

What is CVE-2024-1729? +
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. It has a CVSS v3.1 base score of 5.9 (MEDIUM).
How severe is CVE-2024-1729? +
CVE-2024-1729 has a CVSS v3.1 score of 5.9 out of 10, rated MEDIUM. This is a medium-severity vulnerability that should be remediated as part of regular maintenance.
What products are affected by CVE-2024-1729? +
CVE-2024-1729 affects products from gradio_project, specifically: gradio. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2024-1729? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-1729 — free, no signup required.