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