VulnerabilityModified
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.
CRITICAL 9.8EPSS 39.7%
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 39.7%, higher than 99% of all known CVEs. Patch or mitigate before the next change window.
Description
In LangChain through 0.0.131, the LLMMathChain chain allows prompt injection attacks that can execute arbitrary code via the Python exec method.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 39.65% probability · 99th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-74
- Affected
- langchain/langchain
- Source
- cve@mitre.org
References
- https://github.com/hwchase17/langchain/issues/1026Issue Tracking
- https://github.com/hwchase17/langchain/issues/814Exploit, Issue Tracking, Patch
- https://github.com/hwchase17/langchain/pull/1119Patch
- https://twitter.com/rharang/status/1641899743608463365/photo/1Exploit
- https://github.com/hwchase17/langchain/issues/1026Issue Tracking
- https://github.com/hwchase17/langchain/issues/814Exploit, Issue Tracking, Patch
- https://github.com/hwchase17/langchain/pull/1119Patch
- https://twitter.com/rharang/status/1641899743608463365/photo/1Exploit
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.