CVE-2024-2057

published 1 Mar 2024 · updated 1 Aug 2024

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

7.3HighCVSS 6.3EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LangChain=0.0.26

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-2057 severity on Zeptric[![CVE-2024-2057](https://zeptric.io/badge/cve/CVE-2024-2057.svg)](https://zeptric.io/cve/CVE-2024-2057)