CVE-2024-5998
High
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.
SeverityHigh
CVSS7.8
Exploit probability—
ProductLangchain
PublishedSep 17, 2024
First seenSep 17, 2024
Weakness typeCWE-502Deserialization of untrusted data
How to fix
Update
- langchain langchain0.2.9 or later
- langchain-community0.2.4 or later
- langchain0.2.9 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| langchain langchain | v < 0.2.9 | 0.2.9 |
| langchain-communityPyPI | v < 0.2.4 | 0.2.4 |
| langchainPyPI | v < 0.2.9 | 0.2.9 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.