{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/36678?format=json","vulnerability_id":"VCID-g5ce-vjkw-8uda","summary":"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.","aliases":[{"alias":"CVE-2024-12217"}],"fixed_packages":[],"affected_packages":[],"references":[{"reference_url":"https://huntr.com/bounties/0439bf3d-cb38-43a5-8314-0fadf85cc5a0","reference_id":"0439bf3d-cb38-43a5-8314-0fadf85cc5a0","reference_type":"","scores":[{"value":"5.3","scoring_system":"cvssv3","scoring_elements":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2025-03-20T15:14:55Z/"}],"url":"https://huntr.com/bounties/0439bf3d-cb38-43a5-8314-0fadf85cc5a0"}],"weaknesses":[{"cwe_id":22,"name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory."}],"exploits":[],"severity_range_score":"5.3 - 5.3","exploitability":null,"weighted_severity":null,"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-g5ce-vjkw-8uda"}