CVE-2024-41113CWE-20

Remote code execution in streamlit geospatial in pages/1_📷_Timelapse.py Any Earth Engine ImageCollection option vis_params

Critical · published July 26, 2024

CVSS v3.1
9.8
EPSS
1%
Percentile
72.2
In the wild
Unconfirmed
What it is

🚨 A single user input could turn your Streamlit app into a hacker's playground! The `eval()` function is just waiting for the wrong command. 🔥 Think of it like a chef who takes any ingredient from the customer without checking it first — a recipe for disaster if they receive something toxic! In this case, the `vis_params` variable is that unchecked ingredient, leading to potential remote code execution. An attacker could craft a malicious input that causes your app to execute arbitrary code, effectively giving them control over your system. This could lead to data breaches, loss of sensitive information, or even a complete takeover of your server — absolutely devastating!

Put simply

Think of it like a chef who takes any ingredient from the customer without checking it first — a recipe for disaster if they receive something toxic! In this case, the `vis_params` variable is that unchecked ingredient, leading to potential remote code execution. This vulnerability arises from the use of user-supplied input in the `eval()` function, allowing remote code execution before the fix in commit c4f81d9616d40c60584e36abb15300853a66e489.

What to do

An attacker could craft a malicious input that causes your app to execute arbitrary code, effectively giving them control over your system. This could lead to data breaches, loss of sensitive information, or even a complete takeover of your server — absolutely devastating! Immediately update your Streamlit app to the latest version that includes the fix. Review the code around the `vis_params` variable to ensure no other insecure practices are present. Always sanitize input before processing! You've got this! Follow these steps and your app will be secure in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01395 · 72.2th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2024-07-26T20:05Z
EPSS history
Timeline
  • 26 JUL 20:05Z
    Remote code execution in streamlit geospatial in pages/1_📷_Timelapse.py Any Earth Engine ImageCollection option vis_params
    cvelistv5