{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"moderate"},"category":"csaf_vex","csaf_version":"2.0","distribution":{"text":"Copyright 2024 SUSE LLC. All rights reserved.","tlp":{"label":"WHITE","url":"https://www.first.org/tlp/"}},"lang":"en","notes":[{"category":"summary","text":"SUSE CVE-2024-47164","title":"Title"},{"category":"description","text":"Gradio is an open-source Python package designed for quick prototyping. This vulnerability relates to the **bypass of directory traversal checks** within the `is_in_or_equal` function. This function, intended to check if a file resides within a given directory, can be bypassed with certain payloads that manipulate file paths using `..` (parent directory) sequences. Attackers could potentially access restricted files if they are able to exploit this flaw, although the difficulty is high. This primarily impacts users relying on Gradio's blocklist or directory access validation, particularly when handling file uploads. Users are advised to upgrade to `gradio>=5.0` to address this issue. As a workaround, users can manually sanitize and normalize file paths in their Gradio deployment before passing them to the `is_in_or_equal` function. Ensuring that all file paths are properly resolved and absolute can help mitigate the bypass vulnerabilities caused by the improper handling of `..` sequences or malformed paths.","title":"Description of the CVE"},{"category":"legal_disclaimer","text":"CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).","title":"Terms of use"}],"publisher":{"category":"vendor","contact_details":"https://www.suse.com/support/security/contact/","name":"SUSE Product Security Team","namespace":"https://www.suse.com/"},"references":[{"category":"external","summary":"CVE-2024-47164","url":"https://www.suse.com/security/cve/CVE-2024-47164"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"external","summary":"SUSE Bug 1231526 for CVE-2024-47164","url":"https://bugzilla.suse.com/1231526"}],"title":"SUSE CVE CVE-2024-47164","tracking":{"current_release_date":"2025-12-19T01:00:00Z","generator":{"date":"2024-10-12T02:48:48Z","engine":{"name":"cve-database.git:bin/generate-csaf-vex.pl","version":"1"}},"id":"CVE-2024-47164","initial_release_date":"2024-10-12T02:48:48Z","revision_history":[{"date":"2024-10-12T02:48:48Z","number":"2","summary":"Current version"},{"date":"2024-10-19T02:49:12Z","number":"3","summary":"Current version"},{"date":"2025-02-14T04:25:43Z","number":"4","summary":"Current version"},{"date":"2025-02-16T04:17:51Z","number":"5","summary":"Current version"},{"date":"2025-12-17T00:58:04Z","number":"6","summary":"description changed"},{"date":"2025-12-19T01:00:00Z","number":"7","summary":"description changed"}],"status":"interim","version":"7"}}}