Vulnerability in Gradio-App Gradio-App/gradio
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.
Vulnerability class: TOCTOU (Time-of-Check to Time-of-Use)
EPSS: 0.005 (39.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
Affected products
- Gradio-app Gradio-app/gradio — versions unspecified
- Gradio_project Gradio
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security@huntr.dev (Exploit, Third Party Advisory)
- security@huntr.dev (Patch)
Frequently asked questions
- What is CVE-2024-1729?
- CVE-2024-1729 is a medium-severity vulnerability in Gradio-App Gradio-App/gradio, classified under Time-of-check Time-of-use (TOCTOU) Race Condition. CVSS score: 5.9/10. Published 2024-03-29.
- How severe is CVE-2024-1729?
- Medium severity. CVSS v3 base score is 5.9 out of 10.
- Is CVE-2024-1729 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.