CVE-2024-5998

published 17 Sep 2024 · updated 17 Sep 2024

Deserialization of Untrusted Data in langchain-ai/langchain

5.2MediumCVSS 5.2EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.2.9.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
langchain-ai<0.2.90.2.9

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-5998 severity on Zeptric[![CVE-2024-5998](https://zeptric.io/badge/cve/CVE-2024-5998.svg)](https://zeptric.io/cve/CVE-2024-5998)