Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-3hjh-jh2h-vrg6

Опубликовано: 06 июн. 2024
Источник: github
Github: Прошло ревью
CVSS3: 4.2

Описание

Denial of service in langchain-community

Denial of service in SitemapLoader Document Loader in the langchain-community package, affecting versions below 0.2.5. The parse_sitemap method, responsible for parsing sitemaps and extracting URLs, lacks a mechanism to prevent infinite recursion when a sitemap URL refers to the current sitemap itself. This oversight allows for the possibility of an infinite loop, leading to a crash by exceeding the maximum recursion depth in Python. This vulnerability can be exploited to occupy server socket/port resources and crash the Python process, impacting the availability of services relying on this functionality.

Пакеты

Наименование

langchain-community

pip
Затронутые версииВерсия исправления

< 0.2.5

0.2.5

Наименование

langchain

pip
Затронутые версииВерсия исправления

< 0.2.5

0.2.5

EPSS

Процентиль: 11%
0.00038
Низкий

4.2 Medium

CVSS3

Дефекты

CWE-400
CWE-674

Связанные уязвимости

CVSS3: 4.7
redhat
больше 1 года назад

A Denial-of-Service (DoS) vulnerability exists in the `SitemapLoader` class of the `langchain-ai/langchain` repository, affecting all versions. The `parse_sitemap` method, responsible for parsing sitemaps and extracting URLs, lacks a mechanism to prevent infinite recursion when a sitemap URL refers to the current sitemap itself. This oversight allows for the possibility of an infinite loop, leading to a crash by exceeding the maximum recursion depth in Python. This vulnerability can be exploited to occupy server socket/port resources and crash the Python process, impacting the availability of services relying on this functionality.

CVSS3: 4.7
nvd
больше 1 года назад

A Denial-of-Service (DoS) vulnerability exists in the `SitemapLoader` class of the `langchain-ai/langchain` repository, affecting all versions. The `parse_sitemap` method, responsible for parsing sitemaps and extracting URLs, lacks a mechanism to prevent infinite recursion when a sitemap URL refers to the current sitemap itself. This oversight allows for the possibility of an infinite loop, leading to a crash by exceeding the maximum recursion depth in Python. This vulnerability can be exploited to occupy server socket/port resources and crash the Python process, impacting the availability of services relying on this functionality.

EPSS

Процентиль: 11%
0.00038
Низкий

4.2 Medium

CVSS3

Дефекты

CWE-400
CWE-674