CVE-2024-41114CWE-20

Remote code execution in streamlit geospatial in pages/1_📷_Timelapse.py MODIS Gap filled Land Surface Temperature Daily option

Critical · published July 26, 2024

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

🚨 A user-input variable is leading to potential remote code execution! This sneaky flaw in `streamlit-geospatial` lets attackers run arbitrary code just by tampering with the `palette` variable. 🔥 Think of it like a chef accepting any ingredient handed over without checking — if someone slips in something toxic, the whole dish could be ruined! Here, the risky `eval()` function is like the chef cooking with unknown ingredients. An attacker could exploit this vulnerability to execute any code on the server, potentially compromising the entire system. This could lead to unauthorized access to sensitive data or even a complete takeover of the application. It's absolutely devastating when a simple input could lead to such catastrophic consequences!

Put simply

Think of it like a chef accepting any ingredient handed over without checking — if someone slips in something toxic, the whole dish could be ruined! Here, the risky `eval()` function is like the chef cooking with unknown ingredients. Prior to commit c4f81d9616d40c60584e36abb15300853a66e489, the `palette` variable in `pages/1_📷_Timelapse.py` allowed user input directly into the `eval()` function, opening the door to remote code execution. This means that an attacker could input malicious code and have it executed by the server.

What to do

An attacker could exploit this vulnerability to execute any code on the server, potentially compromising the entire system. This could lead to unauthorized access to sensitive data or even a complete takeover of the application. It's absolutely devastating when a simple input could lead to such catastrophic consequences! Patch immediately to the latest version of `streamlit-geospatial` that includes commit c4f81d9616d40c60584e36abb15300853a66e489. Always sanitize user inputs and avoid using `eval()` whenever possible. Review your codebase to ensure similar vulnerabilities are not lurking around! You've got this! Fixing this vulnerability will help you secure your application effectively. 🛡️

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:10Z
EPSS history
Timeline
  • 26 JUL 20:10Z
    Remote code execution in streamlit geospatial in pages/1_📷_Timelapse.py MODIS Gap filled Land Surface Temperature Daily option
    cvelistv5