~ / search / GHSA-79h8-gxhq-q3jg

GHSA-79h8-gxhq-q3jg

Remote Code Execution in create_conda_env function in lollms

Source: GitHub Advisory Database (reviewed) Moderate CVE-2024-3121

Packages

EcosystemPackageAffectedFixed in
PyPI lollms <= 9.5.1 no fix listed

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.