CVE-2024-47164
CVSS 3.1 Score 6.5 of 10 (medium)
Details
Summary
CVE-2024-47164 is a vulnerability affecting the open-source Python package Gradio. This issue involves the bypass of directory traversal checks within the `is_in_or_equalt` function. The function, designed to verify if a file resides within a given directory, can be manipulated using specific file path payloads containing `..` sequences. If exploited, attackers may gain access to restricted files, posing a potential security risk. Users primarily relying on Gradio's blocklist or directory access validation, particularly when handling file uploads, are most impacted. To mitigate this issue, users are advised to upgrade to Gradio version 5.0 or higher, or manually sanitize and normalize file paths before passing them to the `is_in_or_equal` function.
Prevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.
Affected Products
- Gradio Project Gradio