Skip to content
GradioGHSA-8c87-gvhj-xm8m

Gradio lacks integrity checking on the downloaded FRP client

High7.5CVE-2024-47867 · Published Oct 10, 2024 · updated Jan 21, 2025

GitHub advisory

Affected versions

PackageAffectedFixed in
gradio
PyPI
< 5.0.05.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.

CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Severity from
GitHub (reviewed advisory)
Weakness
CWE-345, CWE-494
Also known as
CVE-2024-47867, PYSEC-2024-216

More Gradio advisories

All Gradio
DateAdvisory
Oct 102024Gradios's CORS origin validation is not performed when the request has a cookie
CVE-2024-47084High8.8fixed in 4.44.0
Oct 102024Gradio's `is_in_or_equal` function may be bypassed
CVE-2024-47164Medium6.5fixed in 5.0.0
Oct 102024Gradio's CORS origin validation accepts the null origin
CVE-2024-47165Medium5.4fixed in 5.0.0
Oct 102024Gradio has a one-level read path traversal in `/custom_component`
CVE-2024-47166Medium5.3fixed in 4.44.0
Oct 102024Gradio vulnerable to SSRF in the path parameter of /queue/join
CVE-2024-47167Medium7.2fixed in 5.0.0
Oct 102024In Gradio, the `enable_monitoring` flag set to `False` does not disable monitoring
CVE-2024-47168Low4.3fixed in 4.44.0

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.