CVE-2024-5998
LangChain pickle deserialization of untrusted data
5.2
MEDIUM
CVSS 3.1
EPSS 0.36%
描述
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 versions prior to 0.2.4.
如何修補 CVE-2024-5998
要修補 CVE-2024-5998,請將受影響套件升級到下列已修補版本。
- —升級至 0.2.9 或更新版本
- —升級至 0.2.4 或更新版本
- —升級至 0.2.4 或更新版本
CVE-2024-5998 正在被利用嗎?
低 — EPSS 為 0.4%,目前沒有觀察到大規模利用活動。
受影響套件(3)
- from 0, < 0.2.9
- from 0, < 0.2.4
- from 0, < 0.2.4
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM5.2 | CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:L |