Descrizione
Eclipse Zenoh's zenoh-pico implementation, versions 0.7.2-rc up to but excluding 1.10.2, does not validate the Zenoh identifier (ZID) length when deserializing timestamps. An attacker-controlled length greater than 16 causes an out-of-bounds write to a fixed 16-byte identifier buffer and causes the subsequent zero-fill operation to receive a negative length converted to a large unsigned size. Truncated timestamp inputs can also cause out-of-bounds reads or assertion failures. A remote attacker able to deliver crafted timestamp-bearing Zenoh messages through an accepted transport can cause memory corruption and denial of service, with potential remote code execution in builds lacking appropriate binary protections. This issue is fixed in version 1.10.2. Depending on the release and message-decoding path, the unchecked timestamp identifier length causes a heap-based or stack-based buffer overflow. Ordinary-frame network message decoding moved from heap-backed storage to stack-local storage in version 1.5.0. Earlier affected releases already contained stack-based decoding paths, including reassembled fragmented messages.
Come correggere
Priorità: Alta — pianificare la correzione entro pochi giorni. Motivazione: CVSS 9.3, EPSS 0.9% (percentile 61).
Versioni da aggiornare
- Eclipse Foundation Eclipse Zenoh (zenoh-pico): vulnerabili le versioni dalla
0.7.2-rcprecedenti alla1.10.2→ aggiornare alla1.10.2o successiva.
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 |
|---|---|---|---|
| Eclipse Foundation | Eclipse Zenoh (zenoh-pico) | ≥ 0.7.2-rc < 1.10.2 | 1.10.2 |
Riferimenti
- Riferimentohttps://github.com/eclipse-zenoh/zenoh-pico/commit/9198576fe69f6af66a2ab4f12f579f72208d7b28
- Riferimentohttps://github.com/eclipse-zenoh/zenoh-pico/commit/f51284e46d6b09378fb6e5b37e07e2910683a40a
- Riferimentohttps://github.com/eclipse-zenoh/zenoh-pico/pull/1345
- Riferimentohttps://github.com/eclipse-zenoh/zenoh-pico/releases/tag/1.10.2
- Riferimentohttps://gitlab.eclipse.org/security/cve-assignment/-/work_items/594
- Riferimentohttps://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/396
- Riferimentohttps://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/396