RCE in Lollms

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.

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.004 (36.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-3121?
CVE-2024-3121 is a low-severity vulnerability in Lollms, classified under Code Injection. CVSS score: 3.3/10. Published 2024-06-24.
How severe is CVE-2024-3121?
Low severity. CVSS v3 base score is 3.3 out of 10.
Is CVE-2024-3121 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.