CVE-2024-4897 Remote Code Execution in parisneo/lollms-webui

High 8.4 Published Updated

Attackers can achieve remote code execution by uploading malicious model files via the bindings_zoo feature in lollms-webui.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-4897?

CVE-2024-4897 is a high-severity code injection vulnerability in parisneo/lollms-webui, published on 2 Jul 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

parisneo/lollms-webui, in its latest version, is vulnerable to remote code execution due to an insecure dependency on llama-cpp-python version llama_cpp_python-0.2.61+cpuavx2-cp311-cp311-manylinux_2_31_x86_64. The vulnerability arises from the application's 'binding_zoo' feature, which allows attackers to upload and interact with a malicious model file hosted on hugging-face, leading to remote code execution. The issue is linked to a known vulnerability in llama-cpp-python, CVE-2024-34359, which has not been patched in lollms-webui as of commit b454f40a. The vulnerability is exploitable through the application's handling of model files in the 'bindings_zoo' feature, specifically when processing gguf format model files.

Weakness: CWE-76

Which versions are affected by CVE-2024-4897?

It affects 1 product.

Products include Lollms Lollms Web Ui.

How do I fix CVE-2024-4897?

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

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

Sources

Also known as GHSA-325v-4jhh-rp36.

Is CVE-2024-4897 in your software?

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

Check your SBOMs for free