CVE-2024-3121CWE-94

Remote Code Execution in create_conda_env function in parisneo/lollms

Medium · published June 24, 2024

CVSS v3.0
6.8
EPSS
0%
Percentile
37.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
6.8 · MEDIUM
Vector
CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00446 · 37.8th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2024-06-24T00:00Z
EPSS history
Timeline
  • 24 JUN 00:00Z
    Remote Code Execution in create_conda_env function in parisneo/lollms
    cvelistv5