CVE-2024-2057: PYSEC-2024-278 - A vulnerability was found in LangChain langchain_community 0.0.26. It has been classified as…

CVE-2024-2057 · Severity: low · CVSS 3.1 · Published 2024-03-01

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.

Technologies: langchain-community (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2024-2057 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-2057 being exploited in the wild.
How severe is CVE-2024-2057?
Low severity, with a CVSS score of 3.1, published 1 March 2024.
Which products and versions are affected?
langchain-community (PyPI) ECOSYSTEM:introduced=0,last_affected=0.0.26.
Is there a fix for CVE-2024-2057?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
Am I affected by CVE-2024-2057?
Check whether you run langchain-community (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Affected products

  • langchain-community (PyPI) ECOSYSTEM:introduced=0,last_affected=0.0.26

Identifiers

  • CVE-2024-2057
  • PYSEC-2024-278

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.