CVE-2024-3121 MEDIUM

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

Vendor Parisneo
Product parisneo/lollms
Weakness CWE-94 · Code injection
Published June 24, 2024
Last update August 1, 2024

CVSS base score

6.8/10
Attack vector Physical
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

June 24, 2024 CVE published
August 1, 2024 Record updated