llamaCVEVulnerability Intelligence
/
redis

CVE-2024-31449

Lua library commands may lead to stack overflow and RCE in Redis

Specific setups onlyParche disponibleimproper input validation
Descargar PNG JSON
CVSS 3.1
7.0
Alta
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Fuente: CNA
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos11 fuente
Parche6 versiones6.2.16 · 6.3.4 · 7.2.6 · 7.2.7 …
Exposición773 dDesde la divulgación, 7 oct 2024, 2:51 p. m.
Detección756 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC
Modificada
Explotación
Remediación
Monitoreo
Detectada +1
Verificada
7 oct 24
19 nov 24
3 nov 26
16 nov 26
19 nov 26
7 oct 24
19 abr 25
29 oct 25
10 may 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2024-31449 divulgada · CVSS 7 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen

Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to trigger a stack buffer overflow in the bit library, which may potentially lead to remote code execution. The problem exists in all versions of Redis with Lua scripting. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.

All Redis versions with Lua scripting are affected, and the fix is in Redis 6.2.16, 7.2.6 and 7.4.1. No vendor severity rating is given, only the CVSS score of 7.0.

¿Qué significa?A stack buffer overflow in the bit library of Redis's Lua scripting can be triggered, which may potentially lead to remote code execution.
¿Quién está afectado?The advisory says all versions of Redis with Lua scripting are affected. To check a server, run redis-server --version and compare the release with the fixed versions 6.2.16, 7.2.6 and 7.4.1.
¿Qué hacer?Upgrade to the fixed release for your release line: 6.2.16, 7.2.6 or 7.4.1. The advisory gives no workaround.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Redis with Lua scripting (affected versions are all versions with Lua scripting)“The problem exists in all versions of Redis with Lua scripting.”
Vector CVSS 3.1

Desglose de métricas

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

Rangos afectados

Afectada Corregida
valkey< 7.2.7
redis≥ 2.6 < 6.2.16
redis≥ 2.6.0 < 6.2.16
keydb≥ 2.6.0 < 6.3.4
keydb≥ 7.0.0
redis≥ 7.0.0 < 7.2.6
redis≥ 7.0.0 < 7.2.8
redis≥ 7.3.0 < 7.4.1
valkey≥ 8.0.0 < 8.0.1
2.6
2.6.0
6.2.16
6.3.4
7.0.0
7.2.6
7.2.7
7.2.8
7.3.0
7.4.1
8.0.0
8.0.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
redis
Corregida 6.2.16, 7.2.6, 7.4.1 — —
keydb
Corregida 6.3.4 — —
valkey
Corregida 7.2.7, 8.0.1 — —
Versiones corregidas6.2.166.3.47.2.67.2.77.4.18.0.1
Explotación

Arsenal público

Exploit-DB
—
0
Metasploit
—
0
Nuclei
—
0
PoC en GitHub
daeseong1209/CVE-2024-31449
1
Ver los 1 repositorios de GitHub
daeseong1209/CVE-2024-31449

Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.

Referencias
Fabricantehttps://github.com/redis/redis/security/advisories/GHSA-whxg-wx83-85p5
Exploithttps://github.com/daeseong1209/CVE-2024-31449
Otrahttps://github.com/redis/redis/commit/1f7c148be2cbacf7d50aa461c58b871e87cc5ed9

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