CVE-2024-41112CWE-20

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

Critical · published July 26, 2024

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

🚨 A simple user input in Streamlit's geospatial app can lead to devastating remote code execution! 🔥 Think of it like a chef blindly adding any spice a customer suggests without checking the recipe — they could end up ruining the whole dish or, even worse, creating a dangerous concoction! If exploited, an attacker could run arbitrary code on the server, gaining full control over the application. This means they could steal sensitive data, manipulate the app’s functionality, or even launch attacks on connected systems. The potential damage is absolutely staggering!

Put simply

Think of it like a chef blindly adding any spice a customer suggests without checking the recipe — they could end up ruining the whole dish or, even worse, creating a dangerous concoction! Prior to a specific commit, the palette variable in `pages/1_📷_Timelapse.py` accepts user input that gets passed to an `eval()` function, allowing attackers to execute any code they desire.

What to do

If exploited, an attacker could run arbitrary code on the server, gaining full control over the application. This means they could steal sensitive data, manipulate the app’s functionality, or even launch attacks on connected systems. The potential damage is absolutely staggering! Patch your Streamlit app to the latest version that includes commit c4f81d9616d40c60584e36abb15300853a66e489. Conduct a thorough review of user inputs and avoid using `eval()` with untrusted data. It's also a good idea to implement input validation and sanitization to further secure your application. You've got this! With the right patch in place, you'll be a security hero 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:01Z
EPSS history
Timeline
  • 26 JUL 20:01Z
    Remote code execution in streamlit geospatial in pages/1_📷_Timelapse.py Any Earth Engine ImageCollection option palette
    cvelistv5