Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. lollms
  4. ›
  5. CVE-2024-3121

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

June 24, 2024

A remote code execution vulnerability exists in the create_conda_env 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 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.

References

  • github.com/ParisNeo/lollms
  • github.com/advisories/GHSA-79h8-gxhq-q3jg
  • huntr.com/bounties/db57c343-9b80-4c1c-9ab0-9eef92c9b27b
  • nvd.nist.gov/vuln/detail/CVE-2024-3121

Code Behaviors & Features

Detect and mitigate CVE-2024-3121 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 9.5.1

Solution

Unfortunately, there is no solution available yet.

Impact 3.3 LOW

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

pypi/lollms/CVE-2024-3121.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:38 +0000.