NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2024-3121: Remote Code Execution in create_conda_env function in lollms

mediumCVSS 3.0 6.8GHSA-79h8-gxhq-q3jg

A remote code execution vulnerability exists in the createcondaenv function of the parisneo/lollms repository. 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 envname and pythonversion parameters.

Published Jun 24, 2024 · Updated Sep 13, 2024

Affected packages

lollms

Ecosystem
PyPI
Affected
<= 9.5.1
Fixed in
No patched version yet
Check
pip show lollms

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

A remote code execution vulnerability exists in the create_conda_env function of the parisneo/lollms repository. 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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries