GitHub Advisoryadvisory · PyPI

GHSA-8c87-gvhj-xm8m Gradio lacks integrity checking on the downloaded FRP client

HIGH Published 2024-10-10 Modified 2025-01-21 Official page ↗
Aliases
CVE-2024-47867
Ecosystem
PyPI
Packages
gradio
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-345, CWE-494
Reviewed
2024-10-10

Affected packages

• PyPI gradio: < 5.0.0 → fixed in 5.0.0

Description

Impact This vulnerability is a lack of integrity check on the downloaded FRP client, which could potentially allow attackers to introduce malicious code. If an attacker gains access to the remote URL from which the FRP client is downloaded, they could modify the binary without detection, as the Gradio server does not verify the file's checksum or signature. Who is impacted? Any users utilizing the Gradio server's sharing mechanism that downloads the FRP client could be affected by this vulnerability, especially those relying on the executable binary for secure data tunneling. Patches Yes, please upgrade to `gradio>=5.0`, which includes a fix to verify the integrity of the downloaded binary. Workarounds There is no direct workaround for this issue without upgrading. However, users can manually validate the integrity of the downloaded FRP client by implementing checksum or signature verification in their own environment to ensure the binary hasn't been tampered with.

Related

Alias · CVE (1)

  • CVE-2024-47867 Gradio is an open-source Python package designed for quick prototyping. vulnerability

Weakness · CWE (2)

  • CWE-345 Insufficient Verification of Data Authenticity weakness
  • CWE-494 Download of Code Without Integrity Check weakness

References