Deserialization in Langchain
CVE-2024-5998
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.
Vulnerability class: Insecure Deserialization
EPSS: 0.004 (28.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Langchain
- Langchain-ai Langchain-ai/langchain — versions unspecified
Weakness classification (CWE)
References
- security@huntr.dev (Exploit, Third Party Advisory)
- security@huntr.dev (Patch)
Frequently asked questions
- What is CVE-2024-5998?
- CVE-2024-5998 is a high-severity vulnerability in Langchain, classified under Deserialization of Untrusted Data. CVSS score: 7.8/10. Published 2024-09-17.
- How severe is CVE-2024-5998?
- High severity. CVSS v3 base score is 7.8 out of 10.