CVE-2024-1729
published medium CVSS 3.0 · 5.9Timing Attack Vulnerability in gradio-app/gradio
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gradio-app | gradio-app/gradio | unspecified to < 4.19.2 (affected · custom) | @huntr_ai · cna |
| gradio_project | gradio | 0 through 4.19.2 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-367 CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
References
2Provider assertions
3@huntr_ai · cna
Timing Attack Vulnerability in gradio-app/gradio
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 94b12d8bec2115969586c38a3627ef68816ef3ca68948bc3cda4650fc52b87e9
- Ingested
- 23 Sep 2026, 08:18:22 UTC
- Source record
- Official CVE record