CVE-2024-12217: Path Traversal in gradio-app/gradio
A vulnerability in the gradio-app/gradio repository, version git 67e4044, allows for path traversal on Windows OS. The implementation of the blockedpath functionality, which is intended to disallow users from reading certain files, is flawed. Specifically, while the application correctly blocks access to paths like 'C:/tmp/secret.txt', it fails to block access when using NTFS Alternate Data Streams (ADS) syntax, such as 'C:/tmp/secret.txt::$DATA'. This flaw can lead to unauthorized reading of blocked file paths.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-12217?
CVE-2024-12217 is rated as a medium severity vulnerability due to its potential for path traversal on Windows OS.
How do I fix CVE-2024-12217?
To fix CVE-2024-12217, upgrade to a patched version of the gradio-app/gradio repository where the blocked_path functionality has been correctly implemented.
What does CVE-2024-12217 affect?
CVE-2024-12217 affects the Gradio application, particularly in versions prior to the fix for the path traversal vulnerability.
Can CVE-2024-12217 lead to data exposure?
Yes, CVE-2024-12217 can lead to unauthorized data exposure by allowing attackers to access restricted files on the system.
Is CVE-2024-12217 specific to any operating system?
Yes, CVE-2024-12217 specifically impacts Windows operating systems where the application is running.