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

Read the record on cve.org

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

CVSSScoreVectorSource
3.16.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LVulDB
3.06.3 MediumCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LVulDB
2.06.5 MediumAV:N/AC:L/Au:S/C:P/I:P/A:PVulDB

Weaknesses

  • CWE-918 Server-Side Request Forgery

Affected Products

ProductVersions
langchain_communityLangChain
  • 0.0.26Affected

References

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.