Skip to content
OpenAdvisories
Medium · 5.9 CVE-2024-1729 EUVD-2024-0655GHSA-hmx6-r76c-85g9PYSEC-2026-1416

Timing Attack Vulnerability in gradio-app/gradio

Published Mar 29, 2024 · Updated Aug 1, 2024 · Assigned by @huntr_ai

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.

Affected products

VendorProductAffectedFixed
gradio-app gradio-app/gradio unspecified – < 4.19.2 4.19.2

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI gradio < 4.19.2 4.19.2 GHSA-hmx6-r76c-85g9

References