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

Published Mar 1, 2024
·
Updated

A vulnerability was found in LangChain langchaincommunity 0.0.26. It has been classified as critical. Affected is the function loadlocal in the library libs/community/langchaincommunity/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 Software

2 affected components
Langchain langchain_community
Langchain Langchain=0.0.26

Event History

Mar 1, 2024
CVE Published
via MITRE·11:31 AM
Data Sourced
via MITRE·11:31 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-2057?

CVE-2024-2057 has been classified as a critical vulnerability.

2

How do I fix CVE-2024-2057?

To mitigate CVE-2024-2057, it is recommended to update the LangChain langchain_community library to a patched version.

3

What component is affected by CVE-2024-2057?

The affected component in CVE-2024-2057 is the TFIDFRetriever function load_local in the langchain_community library.

4

What impact does CVE-2024-2057 have?

CVE-2024-2057 can lead to server-side request forgery vulnerabilities in applications using the affected library.

5

Which versions of LangChain langchain_community are vulnerable to CVE-2024-2057?

All versions of LangChain langchain_community up to 0.0.26 are vulnerable to CVE-2024-2057.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203