llamaCVEVulnerability Intelligence
/
russh

CVE-2024-43410

Russh has an OOM Denial of Service due to allocation of untrusted amount

UnclearParche 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: CNA
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -7 d de la divulgación
Exposición819 dDesde la divulgación, 21 ago 2024, 10:09 a. m.
Detección803 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +2
Explotación
Remediación
Parche 0.44.1
Monitoreo
Detectada
Verificada
14 ago 24
21 ago 24
3 nov 26
16 nov 26
19 nov 26
14 ago 24
9 mar 25
2 oct 25
26 abr 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 0.44.1 russh · -7 d desde divulgación
Divulgación Publicada CVE-2024-43410 divulgada · CVSS 7.5 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen

Russh is a Rust SSH client & server library. Allocating an untrusted amount of memory allows any unauthenticated user to OOM a russh server. An SSH packet consists of a 4-byte big-endian length, followed by a byte stream of this length. After parsing and potentially decrypting the 4-byte length, russh allocates enough memory for this bytestream, as a performance optimization to avoid reallocations later. But this length is entirely untrusted and can be set to any value by the client, causing this much memory to be allocated, which will cause the process to OOM within a few such requests. This vulnerability is fixed in 0.44.1.

Affects russh servers at version 0.44.0 or earlier. Fixed in russh 0.44.1. No vendor severity rating is given.

¿Qué significa?An unauthenticated remote user can make a russh server allocate an untrusted amount of memory. This can exhaust the server's memory and crash it, which is a denial of service.
¿Quién está afectado?Russh servers at version 0.44.0 or earlier are affected. To check a server, confirm which russh version it is running.
¿Qué hacer?Upgrade to russh 0.44.1, which is the fixed version.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Running a russh server at version 0.44.0 or earlier“Allocating an untrusted amount of memory allows any unauthenticated user to OOM a russh server.”
¿Quién debe revisar?Teams running the russh Rust SSH client or server library at 0.44.0 or earlier, and warpgate 0.10.1 or earlier, which depends on russh.
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 Última
russh< 0.44.1
russh≥ 0.0.0-0 < 0.44.1
0.0.0-0
0.44.1
0.65.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
crates.iorussh
Corregida 0.44.1 -7 d 0.65.1 no afectada
Versiones corregidas0.44.1
Explotación

Arsenal público

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

Referencias
Fabricantehttps://github.com/Eugeny/russh/security/advisories/GHSA-vgvv-x7xg-6cqg
Otrahttps://github.com/Eugeny/russh/commit/f660ea3f64b86d11d19e33076012069f02431e55

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