Server-Side Request Forgery (SSRF) Affecting langchain-community package, versions [,0.0.27)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.06% (29th 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-LANGCHAINCOMMUNITY-6421036
  • published12 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?

Upgrade langchain-community to version 0.0.27 or higher.

Overview

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.

CVSS Scores

version 3.1