Descrizione
ExcelJS through 4.4.0 contains a resource exhaustion vulnerability in data-validations-xform.js that allows attackers to exhaust CPU and memory by supplying unbounded sqref ranges. Attackers can provide a small crafted workbook with a sqref of A1:XFD1048576 to make xlsx.load() iterate billions of addresses, blocking the event loop and crashing the process with an uncatchable out-of-memory error.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.5, EPSS 0.5% (percentile 43).
Versioni da aggiornare
- Exceljs Project Exceljs: vulnerabili le versioni fino alla
4.4.0inclusa → aggiornare a una release successiva alla4.4.0. - exceljs exceljs: vulnerabili le versioni fino alla
4.4.0inclusa → aggiornare a una release successiva alla4.4.0.
Patch e advisory
- Advisory di terze parti: www.vulncheck.com/advisories/exceljs-through-4.4.0-den…
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
- 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 |
|---|---|---|---|
| Exceljs Project | Exceljs | ≤ 4.4.0 | — |
| exceljs | exceljs | ≤ 4.4.0 | — |
Riferimenti
- Exploit pubblicohttps://github.com/mateocallec/exceljs-hardened/security/advisories/GHSA-f689-fh93-2pm2
- Exploit pubblicohttps://github.com/mateocallec/exceljs-hardened/security/advisories/GHSA-f689-fh93-2pm2
- Advisory di terze partihttps://www.vulncheck.com/advisories/exceljs-through-4.4.0-denial-of-service-via-oversized-data-validation-sqref
- Riferimentohttps://github.com/exceljs/exceljs
- Riferimentohttps://github.com/exceljs/exceljs/blob/v4.4.0/lib/xlsx/xform/sheet/data-validations-xform.js#L216-L227
- Exploit pubblicohttps://github.com/exceljs/exceljs/issues/3093