CVE-2024-41115 Remote code execution in streamlit geospatial in pages/1_📷_Timelapse.py MODIS Ocean Color SMI option palette
Attackers can execute arbitrary code via the palette input in the Timelapse page due to unsafe eval usage in the streamlit-geospatial application.
- 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-41115?
CVE-2024-41115 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 `palette` variable on line 488 in `pages/1_📷_Timelapse.py` takes user input, which is later used in the `eval()` function on line 493, leading to remote code execution. Commit c4f81d9616d40c60584e36abb15300853a66e489 fixes this issue.
Weakness: CWE-20
Which versions are affected by CVE-2024-41115?
It affects 1 product.
Products include Opengeos Streamlit-Geospatial.
How do I fix CVE-2024-41115?
No fix has been published for CVE-2024-41115 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-41115 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-41115 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-41116 Remote code execution in streamlit geospatial in pages/1_📷_Timelapse.py MODIS Ocean Color SMI option vis_params
- CVE-2024-41117 Remote code execution in streamlit geospatial in pages/10_🌍_Earth_Engine_Datasets.py