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

Published Jun 24, 2024
·
Updated

A remote code execution vulnerability exists in the createcondaenv 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 envname and pythonversion 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.

Other sources

A remote code execution vulnerability exists in the createcondaenv function of the parisneo/lollms repository. 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 envname and pythonversion 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.

GitHub

Affected Software

2 affected components
pip/lollms<=9.5.1
lollms lollms=5.9.0

Event History

Jun 24, 2024
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Advisory Published
via GitHub·12:34 AM

Frequently Asked Questions

1

What is the severity of CVE-2024-3121?

CVE-2024-3121 is classified as a high severity remote code execution vulnerability.

2

How do I fix CVE-2024-3121?

To fix CVE-2024-3121, upgrade the lollms package to version 5.9.0 or higher.

3

Which versions of lollms are affected by CVE-2024-3121?

CVE-2024-3121 affects specifically version 5.9.0 of the lollms package.

4

Can CVE-2024-3121 be exploited remotely?

Yes, CVE-2024-3121 can be exploited remotely due to its remote code execution nature.

5

What causes the vulnerability in CVE-2024-3121?

The vulnerability in CVE-2024-3121 is caused by using shell=True in the subprocess.Popen function, allowing command injection.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203