Vulnerability details
CVE-2024-6982
parisneo parisneo/lollms
Remote Code Execution in Calculate Function in parisneo/lollms
CVSS 3.0
8.4High
Official description
A remote code execution vulnerability exists in the Calculate function of parisneo/lollms version 9.8. The vulnerability arises from the use of Python's `eval()` function to evaluate mathematical expressions within a Python sandbox that disables `__builtins__` and only allows functions from the `math` module. This sandbox can be bypassed by loading the `os` module using the `_frozen_importlib.BuiltinImporter` class, allowing an attacker to execute arbitrary commands on the server. The issue is fixed in version 9.10.
CVSS scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 8.4High | 3.0 | CVEProject cvelistV5 (CNA) (@huntr_ai) | CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| parisneo | parisneo/lollms | v < 9.10 | CVEProject cvelistV5 (CNA) |
References and advisories
2
Kolun on Telegram @kolunsec
Exploited CVEs, key news and a daily digest
Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.
Details
- Published
- 2025-03-20
- Last updated
- 2025-03-20
- State
- Published
- Assigner (CNA)
- @huntr_ai
Exploit prediction (EPSS)
0.46%
Probability of exploitation in 30 days
40%
Percentile (among all CVEs)
SSVC assessment (CISA)
- Automatable
- No
- Exploitation
- Proof of concept
- Technical impact
- Total
Weaknesses (CWE)
- CWE-94Improper Control of Generation of Code