CVE-2024-5998

Deserialization of Untrusted Data in langchain-ai/langchain

State
Published
Severity
5.2 Medium
Published
Sep 17, 2024
Updated
Sep 17, 2024
Reserved
Jun 14, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.05.2 MediumCVSS:3.0/AV:P/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:L@huntr_ai

Weaknesses

  • CWE-502 Deserialization of Untrusted Data

Affected Products

ProductVersions
langchain-ai/langchainlangchain-ai
  • before 0.2.9Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.