Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-47084

8.3 · HIGH
Published Oct 10, 2024 gradio_project CWE-285 EPSS 0.50% (41th pctl)

Overview

CVE-2024-47084 is a high-severity vulnerability affecting gradio_project gradio. It was published on October 10, 2024 and has a CVSS 3.1 base score of 8.3 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.3, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

Gradio is an open-source Python package designed for quick prototyping. This vulnerability is related to **CORS origin validation**, where the Gradio server fails to validate the request origin when a cookie is present. This allows an attacker’s website to make unauthorized requests to a local Gradio server. Potentially, attackers can upload files, steal authentication tokens, and access user data if the victim visits a malicious website while logged into Gradio. This impacts users who have deployed Gradio locally and use basic authentication. Users are advised to upgrade to `gradio>4.44` to address this issue. As a workaround, users can manually enforce stricter CORS origin validation by modifying the `CustomCORSMiddleware` class in their local Gradio server code. Specifically, they can bypass the condition that skips CORS validation for requests containing cookies to prevent potential exploitation.

Remediation

Check the references section for vendor advisories and patches from gradio_project. Update gradio to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
gradio_project gradio >= 0, < 4.44.0 Affected

Frequently Asked Questions

What is CVE-2024-47084?

CVE-2024-47084 is a high-severity vulnerability affecting gradio_project gradio. It was published on October 10, 2024 and has a CVSS 3.1 base score of 8.3 (HIGH).

How severe is CVE-2024-47084?

This vulnerability has a CVSS 3.1 base score of 8.3, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-47084?

Check the references section for vendor advisories and patches from gradio_project. Update gradio to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-47084?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-47084 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.