A vulnerability in the FAISS.deserialize_from_bytes function of langchain-ai/langchain allows for pickle deserialization of untrusted data. This can lead to the execution of arbitrary commands via the os.system function. The issue affects the latest version of the product.
{
"cna_assigner": "@huntr_ai",
"cwe_ids": [
"CWE-502"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5998.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:langchain:langchain:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.2.9"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "604dfe2d99246b0c09f047c604f0c63eafba31e7"
}
],
"source": "REFERENCES_COMMIT"
}
]
}