CVE-2024-12217: gradio-app/gradio - Path Traversal
- Cve: CVE-2024-12217
- Name: gradio-app/gradio - Path Traversal
- Description: 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.
- Impact: Attackers can read sensitive files blocked by the application, leading to information disclosure.
- Remediation: Update to the latest version where the blocked_path functionality is fixed to handle NTFS Alternate Data Streams properly.
- Vulnerability type: path_traversal
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Epss score: 0.00698
- Epss percentile: 0.53841
- Assignee: [email protected]
- Published at: 2025-03-20T10:15:27Z
- Age in days: 614
- Modified at: 2026-06-17T06:59:16Z
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-12217
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
References
| Url | Source | Tags |
|---|---|---|
| https://huntr.com/bounties/0439bf3d-cb38-43a5-8314-0fadf85cc5a0 | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| gradio_project:gradio | <= latest | no | cna_alias | /v1/products/gradio_project/gradio |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| gradio-app/gradio | package | yes | /v1/repositories/gradio-app/gradio |
Index
- Repositories: 478
- Repositories high signal: 285
- Packages: 1
Exploitation
- Remote: yes
- Exposed hosts: 2932
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports