Descrizione
X-Road is open-source data exchange layer software. Prior to 7.8.2, 7.7.3, and 7.6.4, HashChainVerifier in the common-message module resolves attacker-controlled batch-signature hash chains before verifying the message signature and signing certificate, without cycle detection, recursion-depth or total-step limits, or per-step memoization. A registered ecosystem member can send a small crafted hashchain MIME part with repeated or cyclic StepRef values so that verifyHashChain() performs exponential work or unbounded recursion before authentication. Repeated requests can exhaust Security Server proxy threads and deny data-exchange service, and a self-reference can raise an uncaught error. This issue is fixed in versions 7.8.2, 7.7.3, and 7.6.4.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 6.5, EPSS 0.2% (percentile 16).
Versioni da aggiornare
Il record non riporta ancora i prodotti e le versioni corrette (analisi NVD in corso). Consultare l'advisory del vendor nei riferimenti.
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.
Riferimenti
- Riferimentohttps://github.com/nordic-institute/X-Road/commit/6a10bebafe6ede569ffe870b09b48108a80bc590
- Riferimentohttps://github.com/nordic-institute/X-Road/commit/e7434cdb1b02c82719926ed0b474109873475a13
- Riferimentohttps://github.com/nordic-institute/X-Road/commit/f02ac908057cffbd8ce0a596543f905758d45bdf
- Riferimentohttps://github.com/nordic-institute/X-Road/commit/f07c7269fd90d49bad898f8a375755c91549f53f
- Riferimentohttps://github.com/nordic-institute/X-Road/pull/3614
- Riferimentohttps://github.com/nordic-institute/X-Road/security/advisories/GHSA-rc33-88jw-c5jp