CVE-2024-5998 MEDIUM

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

Vendor Langchain-Ai
Product langchain-ai/langchain
Weakness CWE-502 · Unsafe deserialization
Published September 17, 2024
Last update September 17, 2024

CVSS base score

5.2/10
Attack vector Physical
Attack complexity Low
Privileges required Low
User interaction Required
Confidentiality High
Integrity Low

CVSS vector

CVSS:3.0/AV:P/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:L

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

September 17, 2024 CVE published
September 17, 2024 Record updated

Related vulnerabilities

04Related CVE