{"id":"CVE-2024-3121","published":"2024-06-24T00:00:14Z","modified":"2024-08-01T19:32:42Z","title":"Remote Code Execution in create_conda_env function in parisneo/lollms","vendor":"parisneo","product":"parisneo/lollms","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00446,"percentile":0.39689,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://huntr.com/bounties/db57c343-9b80-4c1c-9ab0-9eef92c9b27b","tags":[]}],"priority":{"score":17.7,"factors":[{"name":"EPSS percentile","points":7.94},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.76}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2025-07-22","earliestUrl":"https://github.com/dark-ninja10/CVE-2024-3121","repos":[{"name":"dark-ninja10/CVE-2024-3121","url":"https://github.com/dark-ninja10/CVE-2024-3121","stars":0,"created":"2025-07-22"}]},"first":{"date":"2025-07-22","source":"PoC-in-GitHub","url":"https://github.com/dark-ninja10/CVE-2024-3121"},"provenance":"source"},"vendorSlug":"parisneo","affectedVersions":[{"vendor":"parisneo","product":"parisneo/lollms","versions":[">= unspecified, <= latest"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2024-06-26T19:04:19.373838Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"lollms","vulnerableRanges":["<=9.5.1"],"patched":[],"from":["GHSA-79h8-gxhq-q3jg","PYSEC-2026-1584"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-1959","exploited":false,"provenance":"source"}}