CVE-2024-41119 streamlit-geospatial remote code execution in pages/8_🏜️_Raster_Data_Visualization.py

Critical 9.8 Published Updated

Attackers can execute arbitrary code via user input in the Raster Data Visualization 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-41119?

CVE-2024-41119 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 80 in `8_🏜️_Raster_Data_Visualization.py` takes user input, which is later used in the `eval()` function on line 86, leading to remote code execution. Commit c4f81d9616d40c60584e36abb15300853a66e489 fixes this issue.

Weakness: CWE-20

Which versions are affected by CVE-2024-41119?

It affects 1 product.

Products include Opengeos Streamlit-Geospatial.

How do I fix CVE-2024-41119?

No fix has been published for CVE-2024-41119 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-41119 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-41119 exists.

Sources

Is CVE-2024-41119 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free