Descrizione
ExcelJS through 4.4.0 contains a prototype pollution vulnerability in mergeConditionalFormattings that allows attackers to modify Object.prototype by supplying an x14:cfRule id of __proto__. Attackers can craft an xlsx file that, when loaded with xlsx.load(), sets properties such as type, direction, border and cfvo on every object in the process until it restarts.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.6, EPSS 0.4% (percentile 39).
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-pro…
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 |
|---|---|---|---|
| Exceljs Project | Exceljs | ≤ 4.4.0 | — |
| exceljs | exceljs | ≤ 4.4.0 | — |
Riferimenti
- Exploit pubblicohttps://github.com/mateocallec/exceljs-hardened/security/advisories/GHSA-86ch-m4gp-r5xf
- Advisory di terze partihttps://www.vulncheck.com/advisories/exceljs-through-4.4.0-prototype-pollution-via-x14-conditional-formatting-rule-id
- Riferimentohttps://github.com/exceljs/exceljs
- Riferimentohttps://github.com/exceljs/exceljs/blob/v4.4.0/lib/xlsx/xform/sheet/worksheet-xform.js#L34-L42
- Riferimentohttps://github.com/exceljs/exceljs/blob/v4.4.0/lib/xlsx/xform/sheet/worksheet-xform.js#L55-L74