CVE-2024-41117CWE-20

Remote code execution in streamlit geospatial in pages/10_🌍_Earth_Engine_Datasets.py

Critical · published July 26, 2024

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

🚨 A single user input could lead an attacker to execute arbitrary code on your server! With the `eval()` function involved, this vulnerability in streamlit-geospatial is a ticking time bomb! 🔥 Think of it as a restaurant where a chef decides to cook whatever recipe a patron hands them without questioning it. If someone hands a harmful recipe, the chef unwittingly serves a dangerous dish! An attacker could gain full control of the server, allowing them to manipulate data, access sensitive information, or even cause complete system failures! This could lead to absolute chaos, making your application a playground for malicious actors!

Put simply

Think of it as a restaurant where a chef decides to cook whatever recipe a patron hands them without questioning it. If someone hands a harmful recipe, the chef unwittingly serves a dangerous dish! This critical vulnerability arises because user input is directly passed to the `eval()` function through the `vis_params` variable, enabling remote code execution. Prior to the fix in commit c4f81d9, this flaw left systems wide open to exploitation.

What to do

An attacker could gain full control of the server, allowing them to manipulate data, access sensitive information, or even cause complete system failures! This could lead to absolute chaos, making your application a playground for malicious actors! To safeguard your application, immediately update streamlit-geospatial to the latest version where this vulnerability has been patched. Review your code to avoid using `eval()` with untrusted input. Consider implementing strict input validation and sanitization practices. You've got this! By taking these steps, you'll be closing the door on potential attacks and keeping your applications safe! 🛡️

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.01322 · 70.7th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2024-07-26T20:49Z
EPSS history
Timeline
  • 26 JUL 20:49Z
    Remote code execution in streamlit geospatial in pages/10_🌍_Earth_Engine_Datasets.py
    cvelistv5