llamaCVEVulnerability Intelligence
/
nltk

CVE-2021-43854

Inefficient Regular Expression Complexity in nltk

Parche disponibledenial of service
Descargar PNG JSON
CVSS 3.1
7.5
Alta
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Fuente: CNA
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión3.6.5
Exposición1.791 dDesde la divulgación, 23 dic 2021, 12:55 p. m.
Detección1.789 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Monitoreo
Detectada
23 dic 21
4 ago 24
17 nov 26
19 nov 26
23 dic 21
16 mar 23
6 jun 24
28 ago 25
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2021-43854 divulgada · CVSS 7.5 (CNA)
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen

NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. Versions prior to 3.6.5 are vulnerable to regular expression denial of service (ReDoS) attacks. The vulnerability is present in PunktSentenceTokenizer, sent_tokenize and word_tokenize. Any users of this class, or these two functions, are vulnerable to the ReDoS attack. In short, a specifically crafted long input to any of these vulnerable functions will cause them to take a significant amount of execution time. If your program relies on any of the vulnerable functions for tokenizing unpredictable user input, then we would strongly recommend upgrading to a version of NLTK without the vulnerability. For users unable to upgrade the execution time can be bounded by limiting the maximum length of an input to any of the vulnerable functions. Our recommendation is to implement such a limit.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
nltk< 3.6.5
nltk< 3.6.6
3.6.5
3.6.6
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
nltk
Corregida 3.6.5 — —
Versiones corregidas3.6.5
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/nltk/nltk/security/advisories/GHSA-f8m6-h2c7-8h9x
Otrahttps://github.com/nltk/nltk/issues/2866
Otrahttps://github.com/nltk/nltk/pull/2869
Otrahttps://github.com/nltk/nltk/commit/1405aad979c6b8080dbbc8e0858f89b2e3690341

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.