PT-2024-37303 · Langchain Ai · Langchain
Published
2024-09-17
·
Updated
2024-09-20
·
CVE-2024-5998
CVSS v4.0
8.4
High
| Vector | AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions:
langchain-ai/langchain versions prior to 0.2.4
Description:
A vulnerability in the
FAISS.deserialize from bytes function allows for pickle deserialization of untrusted data, which can lead to the execution of arbitrary commands via the os.system function.Recommendations:
For versions prior to 0.2.4, update to version 0.2.4 or later to resolve the issue.
As a temporary workaround, consider disabling the
FAISS.deserialize from bytes function until a patch is available.
Restrict access to untrusted data to minimize the risk of exploitation.Exploit
Fix
Deserialization of Untrusted Data
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Langchain