CVE-2024-1729CWE-367

Timing Attack Vulnerability in gradio-app/gradio

Medium · published March 29, 2024

CVSS v3.0
5.9
EPSS
1%
Percentile
42.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
5.9 · MEDIUM
Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00501 · 42.0th percentile
Weakness
CWE-367 · Time-of-check Time-of-use (TOCTOU) Race Condition
Published
2024-03-29T04:35Z
EPSS history
Timeline
  • 29 MAR 04:35Z
    Timing Attack Vulnerability in gradio-app/gradio
    cvelistv5