Descrizione
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.3, a forge.tls client accepts a ServerHello compression_method that it did not offer. When the client later handles ServerHelloDone, tls.createConnectionState() rejects the unsupported compression algorithm by throwing an Error that propagates from connection.process(). A malicious server or an on-path attacker can alter the unauthenticated ServerHello compression byte before the server Finished message and terminate a Node.js process when the application does not catch the exception. The affected client paths include direct forge.tls use, forge.tls.wrapSocket, and forge.http; forge.tls servers are not affected, and the issue has no confidentiality or integrity impact. This issue is fixed in version 1.4.3.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.9, EPSS 0.4% (percentile 38).
Versioni da aggiornare
- Digitalbazaar Forge: vulnerabili le versioni precedenti alla
1.4.3→ aggiornare alla1.4.3o successiva.
Patch e advisory
- Patch: github.com/digitalbazaar/forge/commit/1d9816d33…
- Patch: github.com/digitalbazaar/forge/pull/1169
- Note di rilascio: github.com/digitalbazaar/forge/releases/tag/v1.4.3
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre l'esposizione del componente vulnerabile (segmentazione, accesso solo da reti fidate) finché la patch non è applicata.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Digitalbazaar | Forge | < 1.4.3 | 1.4.3 |
Riferimenti
- Patchhttps://github.com/digitalbazaar/forge/commit/1d9816d333c23c523ef2bd8b24282c87db2654ef
- Patchhttps://github.com/digitalbazaar/forge/pull/1169
- Exploit pubblicohttps://github.com/digitalbazaar/forge/security/advisories/GHSA-w4xr-hqv8-ch44
- Exploit pubblicohttps://github.com/digitalbazaar/forge/security/advisories/GHSA-w4xr-hqv8-ch44
- Note di rilasciohttps://github.com/digitalbazaar/forge/releases/tag/v1.4.3