LangChain pickle deserialization of untrusted data
Moderate severity
GitHub Reviewed
Published
Sep 17, 2024
to the GitHub Advisory Database
•
Updated Sep 20, 2024
Description
Published by the National Vulnerability Database
Sep 17, 2024
Published to the GitHub Advisory Database
Sep 17, 2024
Reviewed
Sep 17, 2024
Last updated
Sep 20, 2024
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 theos.system
function. The issue affects versions prior to 0.2.4.References