CVE-2024-2057
Severity CVSS v4.0:
Pending analysis
Type:
CWE-918
Server-Side Request Forgery (SSRF)
Publication date:
01/03/2024
Last modified:
04/03/2025
Description
A vulnerability was found in LangChain langchain_community 0.0.26. It has been classified as critical. Affected is the function load_local in the library libs/community/langchain_community/retrievers/tfidf.py of the component TFIDFRetriever. The manipulation leads to server-side request forgery. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 0.0.27 is able to address this issue. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-255372.
Impact
Base Score 3.x
6.30
Severity 3.x
MEDIUM
Base Score 2.0
6.50
Severity 2.0
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:langchain:langchain:0.0.26:*:*:*:community:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://github.com/bayuncao/vul-cve-16
- https://github.com/bayuncao/vul-cve-16/tree/main/PoC.pkl
- https://github.com/langchain-ai/langchain/pull/18695
- https://vuldb.com/?ctiid_255372=
- https://vuldb.com/?id_255372=
- https://github.com/bayuncao/vul-cve-16
- https://github.com/bayuncao/vul-cve-16/tree/main/PoC.pkl
- https://github.com/langchain-ai/langchain/pull/18695
- https://vuldb.com/?ctiid_255372=
- https://vuldb.com/?id_255372=



