{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-3121","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","state":"PUBLISHED","assignerShortName":"@huntr_ai","dateReserved":"2024-03-31T19:18:08.417Z","datePublished":"2024-06-24T00:00:14.165Z","dateUpdated":"2024-08-01T19:32:42.719Z"},"containers":{"cna":{"title":"Remote Code Execution in create_conda_env function in parisneo/lollms","providerMetadata":{"orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","shortName":"@huntr_ai","dateUpdated":"2024-06-24T00:00:14.165Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"parisneo","product":"parisneo/lollms","versions":[{"version":"unspecified","status":"affected","versionType":"custom","lessThanOrEqual":"latest"}]}],"references":[{"url":"https://huntr.com/bounties/db57c343-9b80-4c1c-9ab0-9eef92c9b27b"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"PHYSICAL","availabilityImpact":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":6.8,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-94 Improper Control of Generation of Code","cweId":"CWE-94"}]}],"source":{"advisory":"db57c343-9b80-4c1c-9ab0-9eef92c9b27b","discovery":"EXTERNAL"}},"adp":[{"affected":[{"vendor":"parisneo","product":"lollms","cpes":["cpe:2.3:a:parisneo:lollms:5.9.0:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"5.9.0","status":"affected"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-26T19:04:19.373838Z","id":"CVE-2024-3121","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-07-08T18:08:19.314Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-01T19:32:42.719Z"},"title":"CVE Program Container","references":[{"url":"https://huntr.com/bounties/db57c343-9b80-4c1c-9ab0-9eef92c9b27b","tags":["x_transferred"]}]}]}}