llamaCVEVulnerability Intelligence
/
hiredis

CVE-2021-32765

Integer Overflow to Buffer Overflow in Hiredis

Parche disponibleinteger overflow
Descargar PNG JSON
CVSS 3.1
8.8
Alta
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Fuente: CNA
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión1.0.1
Exposición1.872 dDesde la divulgación, 4 oct 2021
Detección1.870 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
4 oct 21
3 ago 24
17 nov 26
19 nov 26
4 oct 21
15 ene 23
27 abr 24
8 ago 25
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2021-32765 divulgada · CVSS 8.8 (CNA)
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen

Hiredis is a minimalistic C client library for the Redis database. In affected versions Hiredis is vulnurable to integer overflow if provided maliciously crafted or corrupted `RESP` `mult-bulk` protocol data. When parsing `multi-bulk` (array-like) replies, hiredis fails to check if `count * sizeof(redisReply*)` can be represented in `SIZE_MAX`. If it can not, and the `calloc()` call doesn't itself make this check, it would result in a short allocation and subsequent buffer overflow. Users of hiredis who are unable to update may set the [maxelements](https://github.com/redis/hiredis#reader-max-array-elements) context option to a value small enough that no overflow is possible.

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:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
hiredis< 1.0.1
1.0.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
hiredis
Corregida 1.0.1 — —
Versiones corregidas1.0.1
Explotación

Arsenal público

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

Referencias
Advisoryhttps://security.gentoo.org/glsa/202210-32
Fabricantehttps://github.com/redis/hiredis/security/advisories/GHSA-hfm9-39pp-55p2
Otrahttps://github.com/redis/hiredis/commit/76a7b10005c70babee357a7d0f2becf28ec7ed1e
Otrahttps://wiki.sei.cmu.edu/confluence/display/c/MEM07-C.+Ensure+that+the+arguments+to+calloc%28%29%2C+when+multiplied%2C+do+not+wrap
Otrahttps://lists.debian.org/debian-lts-announce/2021/10/msg00007.html
Otrahttps://security.netapp.com/advisory/ntap-20211104-0003/

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