CVE-2022-35918

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in pypi/streamlit

Identifiers

CVE-2022-35918, GHSA-v4hr-4jpx-56gc

Package Slug

pypi/streamlit

Vulnerability

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Description

Streamlit is a data oriented application development framework for python. Users hosting Streamlit app(s) that use custom components is 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. This issue has been resolved in version 1.11.1. Users are advised to upgrade. There are no known workarounds for this issue.

Affected Versions

All versions starting from 0.63.0 before 1.11.1

Solution

Upgrade to version 1.11.1 or above.

Last Modified

2022-08-09

source