Vulnerability · Published Oct 10, 2024 · Assigned by GitHub_M

CVE-2024-47867Lack of integrity check on the downloaded FRP client in Gradio

Low 2.1

In plain English

A low-severity insufficient verification of data authenticity in gradio from gradio-app. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)2.1Low
Exploit odds (30 days)0.2%top 88.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Gradio is an open-source Python package designed for quick prototyping. 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. 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. 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIgradio5.0.0GHSA-8c87-gvhj-xm8m
PyPIgradio5.0.0PYSEC-2024-216

Affected products (as reported)

VendorProductVersions
gradio-app gradio < 5.0

Weakness: CWE-345 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

References