CVE-2024-2057
published medium CVSS 3.1 · 6.3LangChain langchain_community TFIDFRetriever tfidf.py load_local server-side request forgery
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| LangChain | — | langchain_community0.0.26 | Affected | Not stated | VulDB |
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.
Es wurde eine kritische Schwachstelle in LangChain langchain_community 0.0.26 ausgemacht. Es geht dabei um die Funktion load_local in der Bibliothek libs/community/langchain_community/retrievers/tfidf.py der Komponente TFIDFRetriever. Durch das Manipulieren mit unbekannten Daten kann eine server-side request forgery-Schwachstelle ausgenutzt werden. Der Angriff kann über das Netzwerk passieren. Der Exploit steht zur öffentlichen Verfügung. Ein Aktualisieren auf die Version 0.0.27 vermag dieses Problem zu lösen. Als bestmögliche Massnahme wird das Einspielen eines Upgrades empfohlen.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.0 | 6.3 | medium | VulDB · cna | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | — |
| 2.0 | 6.5 | medium | VulDB · cna | AV:N/AC:L/Au:S/C:P/I:P/A:P | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| LangChain | langchain_community | 0.0.26 (affected) | VulDB · cna |
Weaknesses
1- CWE-918 CWE-918 Server-Side Request Forgery
References
5- 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
- VDB-255372 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/?ctiid.255372
- VDB-255372 | LangChain langchain_community TFIDFRetriever tfidf.py load_local server-side request forgery https://vuldb.com/?id.255372
Provider assertions
3VulDB · cna
LangChain langchain_community TFIDFRetriever tfidf.py load_local server-side request forgery
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 575e4a31a74d510de64479306966be94dca5d7006a2b4b7b28dfe2e6cf96d3bd
- Ingested
- 23 Sep 2026, 08:21:29 UTC
- Source record
- Official CVE record