CVE-2022-35918
MEDIUM6.5EPSS 1.4%Streamlit directory traversal vulnerability
Published: 8/6/2022Modified: 11/8/2023
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. This issue has been resolved in version 1.11.1. Users are advised to upgrade. There are no known workarounds for this issue.
Affected packages (2)
- PyPI/streamlit>= 0.63.0, < 1.11.1
- PyPI/streamlitfrom 0, < 80d9979d5f4a00217743d607078a1d867fad8acf | >= 0.63.0, < 1.11.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-35918
- PATCHhttps://github.com/streamlit/streamlit
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/streamlit/PYSEC-2022-248.yaml
- WEBhttps://github.com/streamlit/streamlit/commit/80d9979d5f4a00217743d607078a1d867fad8acf
- WEBhttps://github.com/streamlit/streamlit/security/advisories/GHSA-v4hr-4jpx-56gc