Timing Attack Affecting gradio package, versions [,4.19.2)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-GRADIO-6263801
  • published23 Feb 2024
  • disclosed22 Feb 2024
  • creditAbubakar Abid

Introduced: 22 Feb 2024

CVE-2024-1729  (opens in a new tab)
CWE-208  (opens in a new tab)

How to fix?

Upgrade gradio to version 4.19.2 or higher.

Overview

gradio is a Python library for easily interacting with trained machine learning models

Affected versions of this package are vulnerable to Timing Attack due to the way string comparisons are handled, allowing them to terminate early upon finding a mismatch. This behavior can be exploited by an attacker to conduct a brute-force attack to guess the password of password-protected applications by making numerous attempts without being rate-limited.

CVSS Scores

version 3.1