CVE-2024-3121

Remote Code Execution in create_conda_env function in parisneo/lollms

State
Published
Severity
6.8 Medium
Published
Jun 24, 2024
Updated
Aug 1, 2024
Reserved
Mar 31, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.06.8 MediumCVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H@huntr_ai

Weaknesses

  • CWE-94 Improper Control of Generation of Code

Affected Products

ProductVersions
parisneo/lollmsparisneo
  • latest and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.