Vulnerability DatabaseGHSA-8qw9-gf7w-42x5

GHSA-8qw9-gf7w-42x5
Streamlit vulnerability analysis and mitigation

Overview

A minor security issue was identified in Streamlit (pip package streamlit) as a follow-up to CVE-2022-35918, affecting versions >= 0.63.0 and < 1.30.0. The vulnerability is related to custom components in Streamlit apps, where a residual directory traversal issue persisted after the initial fix in version 1.11.1, potentially exposing certain files on the server file-system under specific conditions (GitHub Advisory).

Technical details

The vulnerability involves the handling of file paths in custom components, where the original fix using os.path.commonprefix was found to be insufficient. The security update in version 1.30.0 implements os.path.commonpath for more secure access control, preventing potential directory traversal attacks through improved path validation (Streamlit Commit).

Impact

The vulnerability could potentially allow access to certain files on the server file-system under specific conditions, though the severity is classified as Low (GitHub Advisory).

Mitigation and workarounds

Users are strongly advised to update to Streamlit version 1.30.0, which contains the security fix. No additional workarounds are necessary once the update is applied (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Streamlit vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-42474MEDIUM6.5
  • NixOSNixOS
  • streamlit
NoYesAug 12, 2024
CVE-2022-35918MEDIUM6.5
  • PythonPython
  • streamlit
NoYesAug 01, 2022
CVE-2023-27494MEDIUM6.1
  • PythonPython
  • streamlit
NoYesMar 16, 2023
GHSA-8qw9-gf7w-42x5LOWN/A
  • StreamlitStreamlit
  • streamlit
NoYesJan 12, 2024

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management