CVE-2024-41117 Remote code execution in streamlit geospatial in pages/10_🌍_Earth_Engine_Datasets.py
Attackers can execute arbitrary code via user input in the Earth Engine Datasets page due to unsafe eval usage.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-41117?
CVE-2024-41117 is a critical code injection vulnerability in opengeos streamlit-geospatial, published on 26 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
streamlit-geospatial is a streamlit multipage app for geospatial applications. Prior to commit c4f81d9616d40c60584e36abb15300853a66e489, the `vis_params` variable on line 115 in `pages/10_🌍_Earth_Engine_Datasets.py` takes user input, which is later used in the `eval()` function on line 126, leading to remote code execution. Commit c4f81d9616d40c60584e36abb15300853a66e489 fixes this issue.
Weakness: CWE-20
Which versions are affected by CVE-2024-41117?
It affects 1 product.
Products include Opengeos Streamlit-Geospatial.
How do I fix CVE-2024-41117?
No fix has been published for CVE-2024-41117 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2024-41117 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-41117 exists.
Other vulnerabilities in opengeos streamlit-geospatial
- CVE-2024-41112 Remote code execution in streamlit geospatial in pages/1_📷_Timelapse.py Any Earth Engine ImageCollection option palette
- CVE-2024-41113 Code injection in streamlit-geospatial
- CVE-2024-41114 Code injection in streamlit-geospatial
- CVE-2024-41115 Remote code execution in streamlit geospatial in pages/1_📷_Timelapse.py MODIS Ocean Color SMI option palette
- CVE-2024-41116 Remote code execution in streamlit geospatial in pages/1_📷_Timelapse.py MODIS Ocean Color SMI option vis_params