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

Low 2.1 Published Updated

Attackers can execute malicious code by compromising the FRP client download if the sharing feature is used, as Gradio lacks integrity checks.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-47867?

CVE-2024-47867 is a low-severity vulnerability in Gradio Project Gradio, published on 10 Oct 2024. An attacker needs administrator access to exploit it, with no action from the victim.

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.

Weakness: CWE-345

Which versions are affected by CVE-2024-47867?

3 open source packages ship an affected version, including gradio. It affects 1 product.

PackageAffectedFixed in
gradio PyPIAll versions5.0.0
gradio PyPIAll versions5.0.0
gradio PyPIAll versions5.0.0

Products include Gradio Project Gradio.

How do I fix CVE-2024-47867?

Upgrade gradio to 5.0.0 or later.

Is CVE-2024-47867 being exploited?

There is no known exploitation of CVE-2024-47867 in the wild and no public exploit code.

All Gradio Project Gradio vulnerabilities

Sources

Also known as GHSA-8c87-gvhj-xm8m, PYSEC-2024-216.

Is CVE-2024-47867 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free