PT-2024-32860 · Gradio · Gradio
Ahpaleus
+1
·
Published
2024-10-10
·
Updated
2024-10-17
·
CVE-2024-47869
CVSS v4.0
6.3
Medium
| Vector | AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Gradio versions prior to 4.44
Description
This issue involves a timing attack in the way Gradio compares hashes for the
analytics dashboard function. Since the comparison is not done in constant time, an attacker could exploit this by measuring the response time of different requests to infer the correct hash byte-by-byte. This can lead to unauthorized access to the analytics dashboard, especially if the attacker can repeatedly query the system with different keys.Recommendations
To mitigate this issue, upgrade to Gradio version 4.44 or later.
As a temporary workaround, developers can manually patch the
analytics dashboard dashboard to use a constant-time comparison function for comparing sensitive values, such as hashes.
Alternatively, access to the analytics dashboard can be disabled to minimize the risk of exploitation.Exploit
Fix
Side Channel Attack
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Gradio