PT-2024-37303 · Langchain Ai · Langchain

Published

2024-09-17

·

Updated

2024-09-20

·

CVE-2024-5998

CVSS v4.0

8.4

High

VectorAV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions: langchain-ai/langchain versions prior to 0.2.4
Description: A vulnerability in the FAISS.deserialize from bytes function allows for pickle deserialization of untrusted data, which can lead to the execution of arbitrary commands via the os.system function.
Recommendations: For versions prior to 0.2.4, update to version 0.2.4 or later to resolve the issue. As a temporary workaround, consider disabling the FAISS.deserialize from bytes function until a patch is available. Restrict access to untrusted data to minimize the risk of exploitation.

Exploit

Fix

Deserialization of Untrusted Data

Weakness Enumeration

Related Identifiers

CVE-2024-5998
GHSA-F2JM-RW3H-6PHG

Affected Products

Langchain