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
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
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.0 | 5.2 Medium | CVSS: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
| Product | Versions |
|---|---|
langchain-ai/langchainlangchain-ai |
|
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.