llamaCVEVulnerability Intelligence
/
regexp/syntax

CVE-2022-41715

Memory exhaustion when compiling regular expressions in regexp/syntax

Parche disponible
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: NVD
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versiones1.18.7 · 1.19.2
Exposición1.497 dDesde la divulgación, 14 oct 2022
Detección1.481 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
Verificada
14 oct 22
13 feb 25
3 nov 26
13 nov 26
19 nov 26
14 oct 22
23 oct 23
31 oct 24
10 nov 25
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2022-41715 divulgada · CVSS 7.5 (NVD)
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen

Programs which compile regular expressions from untrusted sources may be vulnerable to memory exhaustion or denial of service. The parsed regexp representation is linear in the size of the input, but in some cases the constant factor can be as high as 40,000, making relatively small regexps consume much larger amounts of memory. After fix, each regexp being parsed is limited to a 256 MB memory footprint. Regular expressions whose representation would use more space than that are rejected. Normal use of regular expressions is unaffected.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · NVD
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
regexp/syntax · stdlib< 1.18.7
regexp/syntax · stdlib≥ 1.19.0-0 < 1.19.2
1.18.7
1.19.0-0
1.19.2
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
regexp/syntax
Corregida 1.18.7, 1.19.2 — —
Versiones corregidas1.18.71.19.2
Explotación

Arsenal público

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

Referencias
Otrahttps://go.dev/issue/55949
Otrahttps://go.dev/cl/439356
Otrahttps://groups.google.com/g/golang-announce/c/xtuG5faxtaU
Otrahttps://pkg.go.dev/vuln/GO-2022-1039
Otrahttps://security.gentoo.org/glsa/202311-09

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