CVE-2024-6982
Last modified
CVE-2024-6982 is a high-severity vulnerability rated 8.4/10 on the CVSS scale. 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. EPSS estimates a 0.43% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-6982?
How severe is CVE-2024-6982?
How do I fix CVE-2024-6982?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-6975Cato Networks Windows SDP Client Local Privilege Escalation …8.8
- CVE-2024-6977A vulnerability in Cato Networks SDP Client on Windows allow…6.5
- CVE-2024-6978Cato Networks Windows SDP Client Local root certificates can…8.8
- CVE-2024-6979Amin Aliakbari, member of the AXIS OS Bug Bounty Program, ha…7.5
- CVE-2024-6980A verbose error handling issue in the proxy service implemen…9.8
- CVE-2024-6981OMNTEC Proteus Tank Monitoring OEL8000III Series could all…9.8
- CVE-2024-6983mudler/localai version 2.17.1 is vulnerable to remote code e…8.8
- CVE-2024-6984An issue was discovered in Juju that resulted in the leak of…3.8
- CVE-2024-6985A path traversal vulnerability exists in the api open_person…4.4
- CVE-2024-6986A Cross-site Scripting (XSS) vulnerability exists in the Set…5.4
- CVE-2024-6987The Orchid Store theme for WordPress is vulnerable to unauth…4.3
- CVE-2024-6988Use after free in Downloads in Google Chrome on iOS prior to…8.8
Are you affected by CVE-2024-6982?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
