logo

CVE-2024-3121 lollms

Package

Manager: pip
Name: lollms
Vulnerable Version: >=0 <=9.5.1

Severity

Level: Medium

CVSS v3.1: CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00271 pctl0.50249

Details

Remote Code Execution in create_conda_env function in lollms 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.

Metadata

Created: 2024-06-24T00:34:02Z
Modified: 2024-06-24T21:25:40Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-79h8-gxhq-q3jg/GHSA-79h8-gxhq-q3jg.json
CWE IDs: ["CWE-78", "CWE-94"]
Alternative ID: GHSA-79h8-gxhq-q3jg
Finding: F004
Auto approve: 1