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

How to fix

Update
  • langchain langchain0.2.9 or later
  • langchain-community0.2.4 or later
  • langchain0.2.9 or later

Affected products

ProductAffected versionsFixed in
langchain langchainv < 0.2.90.2.9
langchain-communityPyPIv < 0.2.40.2.4
langchainPyPIv < 0.2.90.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.