What’s Vulnerable › Vulnerabilities

CVE-2024-5998: Deserialization of Untrusted Data in langchain-ai/langchain

Description

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.

Affected products

How to fix

Upgrade to a fixed version: langchain-ai/langchain 0.2.9. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-5998 or the next vulnerability affects your stack