CVE-2024-2965Langchain
Media 4.7
Seguir: esta CVE · Langchain · Langchain Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 28
- CVSS 3.1
- 4.7
- EPSS
- 0.3% probabilidad de explotación en 30 días · percentil 11
- Requiere autenticación
- Sí
- Publicada
- 6 jun 2024
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-674
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Langchain.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | langchain |
< 0.2.5 |
0.2.5 |
pip install "langchain>=0.2.5" |
| PyPI | langchain |
< 0.2.5 |
0.2.5 |
pip install "langchain>=0.2.5" |
| PyPI | langchain-community |
< 0.2.5 |
0.2.5 |
pip install "langchain-community>=0.2.5" |
| PyPI | langchain-community |
< 0.2.5 |
0.2.5 |
pip install "langchain-community>=0.2.5" |
Según OSV / GitHub Advisories (GHSA-3hjh-jh2h-vrg6, PYSEC-2024-118, PYSEC-2026-2561). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| langchain | langchain | < 0.2.5 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com
- huntr.com Exploit Third Party Advisory