CVE-2024-46946
Last modified
CVE-2024-46946 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. langchain_experimental (aka LangChain Experimental) 0.1.17 through 0.3.0 for LangChain allows attackers to execute arbitrary code through sympy.sympify (which uses eval) in LLMSymbolicMathChain. LLMSymbolicMathChain was introduced in fcccde406dd9e9b05fc9babcbeb9ff527b0ec0c6 (2023-10-05).. EPSS estimates a 1.35% chance of exploitation in the next 30 days.
Description
langchain_experimental (aka LangChain Experimental) 0.1.17 through 0.3.0 for LangChain allows attackers to execute arbitrary code through sympy.sympify (which uses eval) in LLMSymbolicMathChain. LLMSymbolicMathChain was introduced in fcccde406dd9e9b05fc9babcbeb9ff527b0ec0c6 (2023-10-05).
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Langchain | Langchain-Experimental | >= 0.1.17, <= 0.3.0 |
References
- https://cwe.mitre.org/data/definitions/95.htmlNot Applicable
- https://docs.sympy.org/latest/modules/codegen.htmlTechnical Description
- https://gist.github.com/12end/68c0c58d2564ef4141bccd4651480820#file-cve-2024-46946-txtExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-46946?
How severe is CVE-2024-46946?
How do I fix CVE-2024-46946?
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-46937An improper access control (IDOR) vulnerability in the /api-…7.5
- CVE-2024-46938An issue was discovered in Sitecore Experience Platform (XP)…7.5
- CVE-2024-46939The game extension engine of versions 1.2.7.0 and earlier ex…2.4
- CVE-2024-46941SystemUI has an incorrect component protection setting, whic…4.8
- CVE-2024-46942In OpenDaylight Model-Driven Service Abstraction Layer (MD-S…6.5
- CVE-2024-46943An issue was discovered in OpenDaylight Authentication, Auth…7.5
- CVE-2024-46947Northern.tech Mender before 3.6.6 and 3.7.x before 3.7.7 all…6.5
- CVE-2024-46948Northern.tech Mender before 3.6.5 and 3.7.x before 3.7.5 has…4.3
- CVE-2024-4695The Move Addons for Elementor plugin for WordPress is vulner…5.4
- CVE-2024-46951An issue was discovered in psi/zcolor.c in Artifex Ghostscri…7.8
- CVE-2024-46952An issue was discovered in pdf/pdf_xref.c in Artifex Ghostsc…7.8
- CVE-2024-46953An issue was discovered in base/gsdevice.c in Artifex Ghosts…7.8
Are you affected by CVE-2024-46946?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
