Skip to content

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

CriticalCVSS 9.8 EPSS 0.68%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 1 fixed.

PackageAffectedFixed inStatus
pypi langchain-community(PyPI) <= 0.0.26; = 0.0.1; = 0.0.1rc1; = 0.0.1rc2 +25 more after 0.0.26 Fixed
@langchain langchain = 0.0.26 No fix listed Versions listed
@langchain langchain_community = 0.0.26 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi langchain-community(PyPI) <= 0.0.26 No fix listed
pypi langchain-community(PyPI) = 0.0.1 No fix listed
pypi langchain-community(PyPI) = 0.0.10 No fix listed
pypi langchain-community(PyPI) = 0.0.11 No fix listed
pypi langchain-community(PyPI) = 0.0.12 No fix listed
pypi langchain-community(PyPI) = 0.0.13 No fix listed
pypi langchain-community(PyPI) = 0.0.14 No fix listed
pypi langchain-community(PyPI) = 0.0.15 No fix listed
pypi langchain-community(PyPI) = 0.0.16 No fix listed
pypi langchain-community(PyPI) = 0.0.17 No fix listed
pypi langchain-community(PyPI) = 0.0.18 No fix listed
pypi langchain-community(PyPI) = 0.0.19 No fix listed
pypi langchain-community(PyPI) = 0.0.1rc1 No fix listed
pypi langchain-community(PyPI) = 0.0.1rc2 No fix listed
pypi langchain-community(PyPI) = 0.0.2 No fix listed
pypi langchain-community(PyPI) = 0.0.20 No fix listed
pypi langchain-community(PyPI) = 0.0.21 No fix listed
pypi langchain-community(PyPI) = 0.0.22 No fix listed
pypi langchain-community(PyPI) = 0.0.23 No fix listed
pypi langchain-community(PyPI) = 0.0.24 No fix listed
pypi langchain-community(PyPI) = 0.0.25 No fix listed
pypi langchain-community(PyPI) = 0.0.26 No fix listed
pypi langchain-community(PyPI) = 0.0.3 No fix listed
pypi langchain-community(PyPI) = 0.0.4 No fix listed
pypi langchain-community(PyPI) = 0.0.5 No fix listed
Show 6 more
ProductAffected versionsFixed in
pypi langchain-community(PyPI) = 0.0.6 No fix listed
pypi langchain-community(PyPI) = 0.0.7 No fix listed
pypi langchain-community(PyPI) = 0.0.8 No fix listed
pypi langchain-community(PyPI) = 0.0.9 No fix listed
@langchain langchain_community = 0.0.26 No fix listed
@langchain langchain = 0.0.26 No fix listed

References