Skip to content
LowVulnerability

CVE-2024-47869: Gradio timing attack in hash comparison for analytics_dashboard

Identifier
CVE-2024-47869
Published
Record updated
View JSON
Affected
  • gradio < 4.44.0
Fixed in
4.44.0
  • released September 10, 2024, 31 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%

Summary

CVE-2024-47869 affects Gradio, an open-source Python package for quick prototyping. Gradio compares hashes in the analytics_dashboard function without constant-time comparison, so an attacker can measure response times to infer the correct hash byte by byte. Repeated queries with different keys could lead to unauthorized access to the analytics dashboard.

Mitigation

Upgrade to gradio>4.44. Before applying the patch, developers can manually patch the analytics_dashboard dashboard to use a constant-time comparison function for sensitive values such as hashes, or disable access to the analytics dashboard.