Descrizione

An unauthenticated HTTP/2 client can permanently leak Node.js server memory and file descriptors. If a peer triggers a protocol error, for example an oversized frame header, while the session is already shutting down, nghttp2 tears the session down internally but Node.js never notices, leaving a dangling session: the socket stays in CLOSE_WAIT and all of Node.js's HTTP/2 state for that connection is held in memory indefinitely, with no further cost to the attacker. The attacker can start the shutdown remotely by sending GOAWAY(NO_ERROR), so it is reliable against default HTTP/2 servers. It is an incomplete-fix case of CVE-2026-48937: that fix detected nghttp2 internal terminations by watching for GOAWAY sent while not shutting down, but missed terminations that arrive while the session is already shutting down. This vulnerability affects Node.js 26.x, 24.x, and 22.x.

Testo originale del record CVE (in inglese).

Come correggere

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

Versioni da aggiornare

  • nodejs node: vulnerabili le versioni dalla 0.0.0 precedenti alla 22.23.5 → aggiornare alla 22.23.5 o successiva.
  • nodejs node: vulnerabili le versioni dalla 23.0.0 precedenti alla 24.22.3 → aggiornare alla 24.22.3 o successiva.
  • nodejs node: vulnerabili le versioni dalla 25.0.0 precedenti alla 26.13.1 → aggiornare alla 26.13.1 o successiva.

Mitigazioni temporanee

Da applicare solo se non è possibile aggiornare subito:

  • Applicare rate limiting e limiti sulle risorse a monte del servizio e monitorarne la disponibilità.

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
nodejs node ≥ 0.0.0 < 22.23.5 22.23.5
nodejs node ≥ 23.0.0 < 24.22.3 24.22.3
nodejs node ≥ 25.0.0 < 26.13.1 26.13.1

Riferimenti