Gradio lacks integrity checking on the downloaded FRP client
High7.5CVE-2024-47867 · Published Oct 10, 2024 · updated Jan 21, 2025
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| gradio PyPI | < 5.0.0 | 5.0.0 |
Details and references
### 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.
More Gradio advisories
All Gradio| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Oct 102024 | Gradios's CORS origin validation is not performed when the request has a cookie CVE-2024-47084High8.8fixed in 4.44.0 | High8.8 | 4.44.0 |
| Oct 102024 | Gradio's `is_in_or_equal` function may be bypassed CVE-2024-47164Medium6.5fixed in 5.0.0 | Medium6.5 | 5.0.0 |
| Oct 102024 | Gradio's CORS origin validation accepts the null origin CVE-2024-47165Medium5.4fixed in 5.0.0 | Medium5.4 | 5.0.0 |
| Oct 102024 | Gradio has a one-level read path traversal in `/custom_component` CVE-2024-47166Medium5.3fixed in 4.44.0 | Medium5.3 | 4.44.0 |
| Oct 102024 | Gradio vulnerable to SSRF in the path parameter of /queue/join CVE-2024-47167Medium7.2fixed in 5.0.0 | Medium7.2 | 5.0.0 |
| Oct 102024 | In Gradio, the `enable_monitoring` flag set to `False` does not disable monitoring CVE-2024-47168Low4.3fixed in 4.44.0 | Low4.3 | 4.44.0 |