Descrizione

In Valkey 8.0.x before 8.0.11, 8.1.x before 8.1.10, 9.0.x before 9.0.6 and 9.1.x before 9.1.2, the RDMA transport's pending-data handler walks its connection list with an iterator that caches the next entry. A command processed from inside that loop, such as CLIENT KILL, can synchronously free another client's connection, and closing an RDMA connection did not remove it from the pending list, so the handler then uses freed memory. An authenticated user can use this to reliably crash the server, and the freed heap chunk can be reclaimed with attacker-influenced bytes. Only servers built with RDMA support (USE_RDMA) and configured with an RDMA listener are affected.

Testo originale del record CVE (in inglese).

Come correggere

Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.5, EPSS 0.4% (percentile 29).

Versioni da aggiornare

  • Valkey Valkey: vulnerabili le versioni dalla 8.0.0 precedenti alla 8.0.11 → aggiornare alla 8.0.11 o successiva.
  • Valkey Valkey: vulnerabili le versioni dalla 8.1.0 precedenti alla 8.1.10 → aggiornare alla 8.1.10 o successiva.
  • Valkey Valkey: vulnerabili le versioni dalla 9.0.0 precedenti alla 9.0.6 → aggiornare alla 9.0.6 o successiva.
  • Valkey Valkey: vulnerabili le versioni dalla 9.1.0 precedenti alla 9.1.2 → aggiornare alla 9.1.2 o successiva.

Indicazioni del vendor

Soluzione (testo originale del vendor):

Upgrade to Valkey 8.0.11, 8.1.10, 9.0.6, 9.1.2 or later.

Workaround (testo originale del vendor):

If you do not need RDMA, build without USE_RDMA or do not configure an RDMA listener. Otherwise, use Valkey ACLs to restrict the CLIENT command, in particular CLIENT KILL.

Mitigazioni temporanee

Da applicare solo se non è possibile aggiornare subito:

  • Ridurre la superficie esposta (disattivare servizi e funzionalità inutilizzati), mantenere attive le protezioni del sistema operativo (ASLR, DEP/NX) e segmentare la rete.

Verifica

  1. Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
  2. Confrontare la versione installata con quelle indicate sopra.
  3. Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
  4. Ripetere la scansione per confermare la correzione.

Configurazioni interessate

VendorProdottoVersioni vulnerabiliCorretta in
Valkey Valkey ≥ 8.0.0 < 8.0.11 8.0.11
Valkey Valkey ≥ 8.1.0 < 8.1.10 8.1.10
Valkey Valkey ≥ 9.0.0 < 9.0.6 9.0.6
Valkey Valkey ≥ 9.1.0 < 9.1.2 9.1.2

Riferimenti