In LangChain through 0.0.131, the LLMMathChain chain allows prompt injection attacks that can execute arbitrary code via the Python exec method.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/29xxx/CVE-2023-29374.json",
"cna_assigner": "mitre"
}{
"cpe": "cpe:2.3:a:langchain:langchain:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "0.0.131"
},
{
"last_affected": "0.0.131"
}
],
"source": [
"DESCRIPTION",
"CPE_RANGE"
]
}