Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. gradio
  4. ›
  5. CVE-2024-47869

CVE-2024-47869: Gradio performs a non-constant-time comparison when comparing hashes

October 10, 2024 (updated January 21, 2025)

What kind of vulnerability is it? Who is impacted?

This vulnerability 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.

References

  • github.com/advisories/GHSA-j757-pf57-f8r4
  • github.com/gradio-app/gradio
  • github.com/gradio-app/gradio/security/advisories/GHSA-j757-pf57-f8r4
  • github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2024-199.yaml
  • nvd.nist.gov/vuln/detail/CVE-2024-47869

Code Behaviors & Features

Detect and mitigate CVE-2024-47869 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.44.0

Fixed versions

  • 4.44.0

Solution

Upgrade to version 4.44.0 or above.

Impact 3.7 LOW

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-203: Observable Discrepancy
  • CWE-208: Observable Timing Discrepancy

Source file

pypi/gradio/CVE-2024-47869.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:56 +0000.