PT-2022-23024 · Streamlit · Streamlit
Kmcgrady
·
Published
2022-08-01
·
Updated
2024-08-13
·
CVE-2022-35918
CVSS v3.1
6.5
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Streamlit versions prior to 1.11.1
Description
Streamlit is a data-oriented application development framework for python. Users hosting Streamlit app(s) that use custom components are vulnerable to a directory traversal attack that could leak data from their web server file-system, such as server logs, world-readable files, and potentially other sensitive information. An attacker can craft a malicious URL with file paths, and the Streamlit server would process that URL and return the contents of that file or overwrite existing files on the web-server.
Recommendations
For versions prior to 1.11.1, upgrade to version 1.11.1 to resolve the issue. As a general security practice, review custom components for any malicious code before using them in apps, and follow security best practices such as running web servers with low privileges and using firewalls to mitigate the severity of such exploits.
Exploit
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Streamlit