ghsa-79h8-gxhq-q3jg
Vulnerability from github
Published
2024-06-24 00:34
Modified
2024-06-24 21:25
Severity ?
Summary
Remote Code Execution in create_conda_env function in lollms
Details
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.
{ "affected": [ { "package": { "ecosystem": "PyPI", "name": "lollms" }, "ranges": [ { "events": [ { "introduced": "0" }, { "last_affected": "9.5.1" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-3121" ], "database_specific": { "cwe_ids": [ "CWE-78", "CWE-94" ], "github_reviewed": true, "github_reviewed_at": "2024-06-24T21:25:40Z", "nvd_published_at": "2024-06-24T00:15:09Z", "severity": "MODERATE" }, "details": "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 \u0027whoami\u0027 command among potentially other harmful commands.", "id": "GHSA-79h8-gxhq-q3jg", "modified": "2024-06-24T21:25:40Z", "published": "2024-06-24T00:34:02Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-3121" }, { "type": "PACKAGE", "url": "https://github.com/ParisNeo/lollms" }, { "type": "WEB", "url": "https://huntr.com/bounties/db57c343-9b80-4c1c-9ab0-9eef92c9b27b" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "type": "CVSS_V3" } ], "summary": "Remote Code Execution in create_conda_env function in lollms" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.