Uncontrolled Resource Consumption ('Resource Exhaustion') Affecting langchain-community package, versions [,0.2.5)


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.04% (12th 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 IDSNYK-PYTHON-LANGCHAINCOMMUNITY-7217836
  • published7 Jun 2024
  • disclosed6 Jun 2024
  • creditdxan29a

Introduced: 6 Jun 2024

CVE-2024-2965  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade langchain-community to version 0.2.5 or higher.

Overview

Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') through the SitemapLoader class. An attacker can occupy server socket/port resources and crash the Python process by inducing an infinite loop via recursive sitemap URL references.

CVSS Scores

version 3.1