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-47166

5.3 · MEDIUM
Published Oct 10, 2024 gradio_project CWE-22 EPSS 0.43% (36th pctl)

Overview

CVE-2024-47166 is a medium-severity vulnerability affecting gradio_project gradio. It was published on October 10, 2024 and has a CVSS 3.1 base score of 5.3 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.3, rated MEDIUM. 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 involves a **one-level read path traversal** in the `/custom_component` endpoint. Attackers can exploit this flaw to access and leak source code from custom Gradio components by manipulating the file path in the request. Although the traversal is limited to a single directory level, it could expose proprietary or sensitive code that developers intended to keep private. This impacts users who have developed custom Gradio components and are hosting them on publicly accessible servers. Users are advised to upgrade to `gradio>=4.44` to address this issue. As a workaround, developers can sanitize the file paths and ensure that components are not stored in publicly accessible directories.

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-47166?

CVE-2024-47166 is a medium-severity vulnerability affecting gradio_project gradio. It was published on October 10, 2024 and has a CVSS 3.1 base score of 5.3 (MEDIUM).

How severe is CVE-2024-47166?

This vulnerability has a CVSS 3.1 base score of 5.3, rated MEDIUM. 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-47166?

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-47166?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-47166 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.