PyPi: Streamlit

CVE-2022-35918

Safety vulnerability ID: 50437

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Aug 01, 2022 Updated at Nov 11, 2024
Scan your Python projects for vulnerabilities →

Advisory

In Streamlit affected versions, 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. This issue has been resolved in version 1.11.1. Users are advised to upgrade. There are no known workarounds for this issue.

Affected package

streamlit

Latest version: 1.40.1

A faster way to build and share data apps

Affected versions

Fixed versions

Vulnerability changelog

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. This issue has been resolved in version 1.11.1. Users are advised to upgrade. There are no known workarounds for this issue. See CVE-2022-35918.


CONFIRM:https://github.com/streamlit/streamlit/security/advisories/GHSA-v4hr-4jpx-56gc: https://github.com/streamlit/streamlit/security/advisories/GHSA-v4hr-4jpx-56gc
MISC:https://github.com/streamlit/streamlit/commit/80d9979d5f4a00217743d607078a1d867fad8acf: https://github.com/streamlit/streamlit/commit/80d9979d5f4a00217743d607078a1d867fad8acf

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

MEDIUM 6.5

CVSS v3 Details

MEDIUM 6.5
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
REQUIRED
Scope (S)
UNCHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
NONE
Availability Availability (A)
NONE