Gradio Path Traversal vulnerability
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.
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2024-12217US | — | — | ||
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 in… | ||||
references
External citations — patches, advisories, analysis.
- https://github.com/advisories/GHSA-prpg-p95c-32fvADVISORY
- https://github.com/gradio-app/gradioPACKAGE
- https://github.com/gradio-app/gradio/blob/67e4044c9ca8358eceeb1fa72fa415df03397d20/gradio/utils.py#L1061-L1074WEB
- https://huntr.com/bounties/0439bf3d-cb38-43a5-8314-0fadf85cc5a0WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-12217ADVISORY
- https://pypi.org/project/gradioPACKAGE
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan