CVE-2024-2057 MEDIUM

CVE-2024-2057: LangChain langchain_community TFIDFRetriever tfidf.py load_local server-side request forgery

Vendor Langchain
Product langchain_community
Weakness CWE-918 · SSRF
Published March 1, 2024
Last update August 1, 2024

CVSS base score

6.3/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 1, 2024 CVE published
August 1, 2024 Record updated