CVE-2023-29374
CRITICALCVSS 9.8/10EPSS 39.65%
Last modified
CVE-2023-29374 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. In LangChain through 0.0.131, the LLMMathChain chain allows prompt injection attacks that can execute arbitrary code via the Python exec method.. EPSS estimates a 39.65% chance of exploitation in the next 30 days.
Description
In LangChain through 0.0.131, the LLMMathChain chain allows prompt injection attacks that can execute arbitrary code via the Python exec method.
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 | <= 0.0.131 |
References
- https://github.com/hwchase17/langchain/issues/1026Issue Tracking
- https://github.com/hwchase17/langchain/issues/814Exploit, Issue Tracking, Patch
- https://github.com/hwchase17/langchain/issues/1026Issue Tracking
- https://github.com/hwchase17/langchain/issues/814Exploit, Issue Tracking, Patch
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-29374?
In LangChain through 0.0.131, the LLMMathChain chain allows prompt injection attacks that can execute arbitrary code via the Python exec method.
How severe is CVE-2023-29374?
CVE-2023-29374 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 39.65% probability of exploitation in the next 30 days.
How do I fix CVE-2023-29374?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
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 2023
- CVE-2023-29369Remote Procedure Call Runtime Denial of Service Vulnerabilit…6.5
- CVE-2023-2937Inappropriate implementation in Picture In Picture in Google…4.3
- CVE-2023-29370Windows Media Remote Code Execution Vulnerability7.8
- CVE-2023-29371Windows GDI Elevation of Privilege Vulnerability7.8
- CVE-2023-29372Microsoft WDAC OLE DB provider for SQL Server Remote Code Ex…8.8
- CVE-2023-29373Microsoft ODBC Driver Remote Code Execution Vulnerability8.8
- CVE-2023-29375An issue was discovered in Progress Sitefinity 13.3 before 1…9.8
- CVE-2023-29376An issue was discovered in Progress Sitefinity 13.3 before 1…5.4
- CVE-2023-2938Inappropriate implementation in Picture In Picture in Google…4.3
- CVE-2023-29380Warpinator before 1.6.0 allows remote file deletion via dire…7.5
- CVE-2023-29381An issue in Zimbra Collaboration (ZCS) v.8.8.15 and v.9.0 al…9.8
- CVE-2023-29382An issue in Zimbra Collaboration ZCS v.8.8.15 and v.9.0 allo…9.8
Are you affected by CVE-2023-29374?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
