CVE-2024-47867: Lack of integrity check on the downloaded FRP client in Gradio
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.
Other sources
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.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pip/gradioto a version that resolves this vulnerability.Fixed in 5.0.0 - Upgrade
Upgrade
gradioto a version that resolves this vulnerability.Fixed in 5.0 - Compensating control
Manually validate the integrity of the downloaded FRP client by implementing checksum or signature verification.
Event History
Frequently Asked Questions
What is the severity of CVE-2024-47867?
CVE-2024-47867 is a critical vulnerability due to the lack of integrity checks on the downloaded FRP client.
How do I fix CVE-2024-47867?
To fix CVE-2024-47867, ensure you are using Gradio version 5.0.0 or later after confirming the integrity of the downloaded file.
What causes CVE-2024-47867?
CVE-2024-47867 is caused by the absence of integrity checks on the FRP client download, allowing attackers to alter the binary.
Which software is affected by CVE-2024-47867?
CVE-2024-47867 affects Gradio versions prior to 5.0.0 installed via pip.
Can CVE-2024-47867 allow arbitrary code execution?
Yes, CVE-2024-47867 can potentially allow arbitrary code execution if an attacker modifies the downloaded FRP client.