CVE-2024-3121

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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:lollms:lollms:5.9.0:*:*:*:*:*:*:*

History

No history.

Information

Published : 2024-06-24 00:15

Updated : 2024-11-21 09:28


NVD link : CVE-2024-3121

Mitre link : CVE-2024-3121

CVE.ORG link : CVE-2024-3121


JSON object : View

Products Affected

lollms

  • lollms
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')

CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')