llamaCVEVulnerability Intelligence
/
Advisory · GitHub

GHSA-M8PG-4X2H-JVGR

Consistent-hash exchange unbounded weight

Sin parche publicado
Descargar PNG JSON
CVSS
—
medium
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición134 dDesde la divulgación, 9 jul 2026, 4:22 a. m.
Detección133 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 +1
9 jul 26
29 jul 26
20 nov 26
21 nov 26
9 jul 26
12 ago 26
14 sept 26
18 oct 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-M8PG-4X2H-JVGR divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

Origin

This vulnerability was identified by Team RabbitMQ and/or other teams at Broadcom, not via a responsible disclosure from an external researcher.

Source references

`deps/rabbitmq_consistent_hash_exchange/src/rabbit_exchange_type_consistent_hash.erl:158` · Unbounded Memory Allocation

Impact

A user with write permission on a consistent-hash exchange and read on a queue can create a binding whose routing key (the hash-ring weight) is an arbitrarily large integer. The broker allocates a list of that many integers via lists:seq/2 and persists it to Khepri across all cluster nodes — a single binding with weight 100000000 allocates ~800 MB on every node and survives restarts.

Description

add_binding/3 parses the routing key as an integer weight N and computes ring positions with lists:seq(NextN0, NextN0 + N - 1). validate_binding/2 only checks N >= 1 — no upper bound. The resulting list is stored in the exchange's Khepri record, replicated cluster-wide, and reloaded on restart.

Exploit scenario

channel.queue_bind(queue='q', exchange='hash-ex', routing_key='500000000'). Broker calls lists:seq(0, 499999999) → ~4 GB list. All cluster nodes attempt to replicate it. Nodes OOM or become unresponsive.

Preconditions

  • rabbitmq_consistent_hash_exchange plugin enabled
  • write permission on a consistent-hash exchange + read on a queue (standard binding perms)

## CVSS
CVSS v4.0: `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N` (6.0, Moderate). Fixed in `3.13.15`, `4.0.20`, `4.1.11`, `4.2.6`, `4.3.0`.

Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.

Remediación

Estado del parche por paquete

La fuente no informa paquetes ni versiones corregidas.

Explotación

Arsenal público

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

Referencias
Advisoryhttps://github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-m8pg-4x2h-jvgr

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