Vulnerability · Published Mar 1, 2024 · Assigned by VulDB

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

Medium 6.3

In plain English

A medium-severity server-side request forgery in langchain_community from LangChain. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities).

Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)0.6%top 52.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIlangchain-communityno fix listedPYSEC-2024-278

Affected products (as reported)

VendorProductVersions
LangChain langchain_community 0.0.26

Weakness: CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

References