Server-Side Request Forgery (SSRF) The advisory has been revoked - it doesn't affect any version of package langchain  (opens in a new tab)


Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.58% (47th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-Side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-LANGCHAIN-6347254
  • published1 Mar 2024
  • disclosed1 Mar 2024
  • creditbayuncao

Introduced: 1 Mar 2024

CVE-2024-2057  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

There is no fixed version for langchain.

Amendment

This was deemed not a vulnerability.

Overview

langchain is a Building applications with LLMs through composability

Affected versions of this package are vulnerable to Server-Side Request Forgery (SSRF) due to the load_local function. An attacker can perform actions on behalf of the server or access unauthorized information by sending crafted requests to the vulnerable function.