PT-2024-18682 · Langchain · Langchain
Bayuncao
·
Published
2024-03-01
·
Updated
2024-05-17
·
CVE-2024-2057
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
LangChain langchain community version 0.0.26
LangChain version 0.1.9
Description
A critical issue has been found, affecting the
load local function in the libs/community/langchain community/retrievers/tfidf.py library of the TFIDFRetriever component. This issue leads to server-side request forgery and can be exploited remotely. The exploit has been publicly disclosed.Recommendations
For LangChain langchain community version 0.0.26, upgrade to version 0.0.27 to address this issue.
For LangChain version 0.1.9, consider disabling the
load local function in the libs/community/langchain community/retrievers/tfidf.py library as a temporary workaround until a patch is available.Exploit
Fix
SSRF
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Langchain