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

Published Oct 10, 2024
·
Updated

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

2 affected componentsFixes available
pip/gradio<5.0.0
5.0.0
Gradio Project Gradio Python<5.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/gradio to a version that resolves this vulnerability.

    Fixed in 5.0.0
  2. Upgrade

    Upgrade gradio to a version that resolves this vulnerability.

    Fixed in 5.0
  3. Compensating control

    Manually validate the integrity of the downloaded FRP client by implementing checksum or signature verification.

Event History

Oct 10, 2024
Advisory Published
via GitHub·10:02 PM
CVE Published
via MITRE·10:19 PM
Data Sourced
via MITRE·10:19 PM
DescriptionWeakness
Data Sourced
via OSV·10:19 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

4

Which software is affected by CVE-2024-47867?

CVE-2024-47867 affects Gradio versions prior to 5.0.0 installed via pip.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203