Descrizione
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, asn1.oidToDer() in lib/asn1.js did not range-check the first two arcs of an OID. An application that accepted an untrusted OID string, checked or authorized that string, and then encoded it with asn1.oidToDer() could emit DER representing a different, trusted OID from the one that was checked. DER parsing is not affected. This issue is fixed in version 1.4.1.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.3, EPSS 0.3% (percentile 24).
Versioni da aggiornare
- Digitalbazaar Forge: vulnerabili le versioni precedenti alla
1.4.1→ aggiornare alla1.4.1o successiva.
Patch e advisory
- Patch: github.com/digitalbazaar/forge/commit/e56a3dde8…
- Note di rilascio: github.com/digitalbazaar/forge/releases/tag/v1.4.1
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
- 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.1 | 1.4.1 |
Riferimenti
- Patchhttps://github.com/digitalbazaar/forge/commit/e56a3dde8e4e63bae566bb32546eeaf92f515e1e
- Exploit pubblicohttps://github.com/digitalbazaar/forge/security/advisories/GHSA-4642-5mcj-2rqw
- Exploit pubblicohttps://github.com/digitalbazaar/forge/security/advisories/GHSA-4642-5mcj-2rqw
- Note di rilasciohttps://github.com/digitalbazaar/forge/releases/tag/v1.4.1