Lucene search

K
osvGoogleOSV:GHSA-F2JM-RW3H-6PHG
HistorySep 17, 2024 - 12:30 p.m.

LangChain pickle deserialization of untrusted data

2024-09-1712:30:32
Google
osv.dev
1
vulnerability
langchain
pickle
deserialization
untrusted data
faiss
execution
arbitrary commands
os.system
version

CVSS3

5.2

Attack Vector

PHYSICAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.0/AV:P/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:L

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.

CVSS3

5.2

Attack Vector

PHYSICAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.0/AV:P/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:L

Related for OSV:GHSA-F2JM-RW3H-6PHG