Timing Attack Affecting gradio package, versions [,4.44.0)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.05% (19th 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-8180439
  • published11 Oct 2024
  • disclosed10 Oct 2024
  • creditMaciej Domanski

Introduced: 10 Oct 2024

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

How to fix?

Upgrade gradio to version 4.44.0 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 analytics_dashboard function. An attacker can infer the correct hash byte-by-byte by measuring the response time of different requests, leading to unauthorized access to the analytics dashboard.

Workaround

Access to the analytics dashboard can be disabled.

References

CVSS Scores

version 4.0
version 3.1