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

6.5 · MEDIUM
Published Oct 10, 2024 gradio_project CWE-22 EPSS 0.70% (51th pctl)

Overview

CVE-2024-47164 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 6.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.5, 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 relates to the **bypass of directory traversal checks** within the `is_in_or_equal` function. This function, intended to check if a file resides within a given directory, can be bypassed with certain payloads that manipulate file paths using `..` (parent directory) sequences. Attackers could potentially access restricted files if they are able to exploit this flaw, although the difficulty is high. This primarily impacts users relying on Gradio’s blocklist or directory access validation, particularly when handling file uploads. Users are advised to upgrade to `gradio>=5.0` to address this issue. As a workaround, users can manually sanitize and normalize file paths in their Gradio deployment before passing them to the `is_in_or_equal` function. Ensuring that all file paths are properly resolved and absolute can help mitigate the bypass vulnerabilities caused by the improper handling of `..` sequenc

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, < 5.0.0 Affected

Frequently Asked Questions

What is CVE-2024-47164?

CVE-2024-47164 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 6.5 (MEDIUM).

How severe is CVE-2024-47164?

This vulnerability has a CVSS 3.1 base score of 6.5, 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-47164?

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

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