CVE-2024-2057
LangChain langchain_community TFIDFRetriever tfidf.py load_local server-side request forgery
- State
- Published
- Severity
- 6.3 Medium
- Published
- Mar 1, 2024
- Updated
- Aug 1, 2024
- Reserved
- Mar 1, 2024
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.3 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | VulDB |
| 3.0 | 6.3 Medium | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | VulDB |
| 2.0 | 6.5 Medium | AV:N/AC:L/Au:S/C:P/I:P/A:P | VulDB |
Weaknesses
- CWE-918 Server-Side Request Forgery
Affected Products
| Product | Versions |
|---|---|
langchain_communityLangChain |
|
References
- VDB-255372 | LangChain langchain_community TFIDFRetriever tfidf.py load_local server-side request forgeryvdb-entrytechnical-description
- VDB-255372 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- https://github.com/bayuncao/vul-cve-16broken-link
- https://github.com/bayuncao/vul-cve-16/tree/main/PoC.pklbroken-linkexploit
- https://github.com/langchain-ai/langchain/pull/18695issue-trackingpatch
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.