CVE-2024-12217

A vulnerability in the gradio-app/gradio repository, version git 67e4044, allows for path traversal on Windows OS. The implementation of the blocked_path 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.
Configurations

No configuration.

History

20 Mar 2025, 16:15

Type Values Removed Values Added
References () https://huntr.com/bounties/0439bf3d-cb38-43a5-8314-0fadf85cc5a0 - () https://huntr.com/bounties/0439bf3d-cb38-43a5-8314-0fadf85cc5a0 -

20 Mar 2025, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-20 10:15

Updated : 2025-03-20 16:15


NVD link : CVE-2024-12217

Mitre link : CVE-2024-12217

CVE.ORG link : CVE-2024-12217


JSON object : View

Products Affected

No product.

CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')