langchain-community
Affected
- introduced
0, fixed0.2.4(ecosystem)
Fixed versions
0.2.4
Fix
- Fixed version
0.2.4pip install --upgrade langchain-community==0.2.4
Advisory
Also known as: CVE-2024-5998, GHSA-f2jm-rw3h-6phg, PYSEC-2024-323
LangChain pickle deserialization of untrusted data
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.
Medium Basis: CVSS v3 score 5.2, vector CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:L
0, fixed 0.2.4 (ecosystem)0.2.4
0.2.4pip install --upgrade langchain-community==0.2.4Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0