CVE-2024-41116CWE-20

Remote code execution in streamlit geospatial in pages/1_📷_Timelapse.py MODIS Ocean Color SMI option vis_params

Critical · published July 26, 2024

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

🚨 A seemingly harmless variable is a ticking time bomb! The `vis_params` input in `streamlit-geospatial` can execute any code an attacker dreams up, thanks to a sneaky eval() call! 🔥 Think of it like a chef who blindly trusts an order and throws in any ingredient without checking if it's safe. One wrong item could spoil the entire dish, or in this case, your entire system! An attacker could exploit this flaw to execute arbitrary code on your server, leading to absolute chaos – think data breaches, system takeovers, and all sorts of mischief! The potential for remote code execution here is downright terrifying!

Put simply

Think of it like a chef who blindly trusts an order and throws in any ingredient without checking if it's safe. One wrong item could spoil the entire dish, or in this case, your entire system! This vulnerability allows an attacker to input arbitrary code through the `vis_params` variable, which is later passed to the `eval()` function, enabling remote code execution in the app.

What to do

An attacker could exploit this flaw to execute arbitrary code on your server, leading to absolute chaos – think data breaches, system takeovers, and all sorts of mischief! The potential for remote code execution here is downright terrifying! To remedy this, immediately update to the patched version or commit c4f81d9616d40c60584e36abb15300853a66e489. Additionally, consider refactoring your code to avoid using `eval()` with user inputs altogether for maximum safety! You've got this! Tackle this vulnerability head-on, and you'll have your app fortified 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.01322 · 70.7th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2024-07-26T20:16Z
EPSS history
Timeline
  • 26 JUL 20:16Z
    Remote code execution in streamlit geospatial in pages/1_📷_Timelapse.py MODIS Ocean Color SMI option vis_params
    cvelistv5