CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Gradio Project

CVE-2024-47871
Gradio Project Gradio vulnerability

Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves **insecure communication** between the FRP (Fast Reverse Proxy) client and server when Gradio's `share=True` option is used. HTTPS is not enforced on the connection, allowing attackers to intercept and read files uploaded to the Gradio server, as well as modify responses or data sent between the client and server. This impacts users who are sharing Gradio demos publicly over the internet using `share=True` without proper encryption, exposing sensitive data to potential eavesdroppers. Users are advised to upgrade to `gradio>=5` to address this issue. As a workaround, users can avoid using `share=True` in production environments and instead host their Gradio applications on servers with HTTPS enabled to ensure secure communication.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Gradio. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Gradio Project Gradio runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Gradio Project products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.