Skip to content
OpenAdvisories
Medium · 6.8 Public exploit CVE-2024-3121 EUVD-2024-1959GHSA-79h8-gxhq-q3jgPYSEC-2026-1584

Remote Code Execution in create_conda_env function in parisneo/lollms

Published Jun 24, 2024 · Updated Aug 1, 2024 · Assigned by @huntr_ai

Description

A remote code execution vulnerability exists in the create_conda_env function of the parisneo/lollms repository, version 5.9.0. The vulnerability arises from the use of shell=True in the subprocess.Popen function, which allows an attacker to inject arbitrary commands by manipulating the env_name and python_version parameters. This issue could lead to a serious security breach as demonstrated by the ability to execute the 'whoami' command among potentially other harmful commands.

Affected products

VendorProductAffectedFixed
parisneo parisneo/lollms unspecified – ≤ latest —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI lollms <= 9.5.1 — GHSA-79h8-gxhq-q3jg

References