PT-2022-23024 · Streamlit · Streamlit

Kmcgrady

·

Published

2022-08-01

·

Updated

2024-08-13

·

CVE-2022-35918

CVSS v3.1

6.5

Medium

VectorAV: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

Weakness Enumeration

Related Identifiers

CVE-2022-35918
GHSA-V4HR-4JPX-56GC
PYSEC-2022-248

Affected Products

Streamlit