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

Published Jul 2, 2024
·
Updated

parisneo/lollms-webui, in its latest version, is vulnerable to remote code execution due to an insecure dependency on llama-cpp-python version llamacpppython-0.2.61+cpuavx2-cp311-cp311-manylinux231x8664. The vulnerability arises from the application's 'bindingzoo' 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 'bindingszoo' feature, specifically when processing gguf format model files.

Affected Software

3 affected components
parisneo lollms-webui
llama-cpp-python llama_cpp_python
lollms Lollms Web Ui<9.8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade parisneo/lollms-webui to a version that resolves this vulnerability.

    Patch CVE-2024-34359
  2. Upgrade

    Upgrade llama-cpp-python to a version that resolves this vulnerability.

    Fixed in llama_cpp_python-0.2.61+cpuavx2-cp311-cp311-manylinux_2_31_x86_64

Event History

Jul 2, 2024
CVE Published
via MITRE·02:37 PM
Data Sourced
via MITRE·02:37 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-4897?

CVE-2024-4897 is rated as a critical vulnerability due to its potential for remote code execution.

2

How do I fix CVE-2024-4897?

To fix CVE-2024-4897, update the dependency on llama-cpp-python to a secure version that does not contain the vulnerability.

3

Which software is affected by CVE-2024-4897?

CVE-2024-4897 affects the lollms-webui software developed by parisneo and its dependency llama-cpp-python.

4

What type of vulnerability is CVE-2024-4897?

CVE-2024-4897 is classified as a remote code execution vulnerability.

5

Can CVE-2024-4897 be exploited remotely?

Yes, CVE-2024-4897 can be exploited remotely, allowing an attacker to execute arbitrary code on the affected system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203