CVE-2024-1729 MEDIUM

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

Vendor Gradio-App
Product gradio-app/gradio
Weakness CWE-367
Published March 29, 2024
Last update August 1, 2024

CVSS base score

5.9/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality High
Integrity None

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 29, 2024 CVE published
August 1, 2024 Record updated