Descrizione
BACnet Stack is a BACnet open source protocol stack C library for embedded systems. From versions 1.4.0 to before 1.4.6, 1.5.0 to before 1.5.1, and 1.6.0 to before 1.6.1, the BACnet MS/TP receive path decodes COBS frames into an output pointer inside the same fixed input buffer, but passes the full input-buffer size as the decode capacity. A long valid COBS payload can therefore write past the end of the actual remaining buffer. This issue has been patched in versions 1.4.6, 1.5.1, 1.6.1, and 1.7.0.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.8, EPSS 0.4% (percentile 31).
Versioni da aggiornare
- bacnet-stack bacnet-stack: vulnerabile la versione
>= 1.4.0, < 1.4.6→ installare l'ultima release supportata dal vendor. - bacnet-stack bacnet-stack: vulnerabile la versione
>= 1.5.0, < 1.5.1→ installare l'ultima release supportata dal vendor. - bacnet-stack bacnet-stack: vulnerabile la versione
>= 1.6.0, < 1.6.1→ installare l'ultima release supportata dal vendor.
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 |
|---|---|---|---|
| bacnet-stack | bacnet-stack | >= 1.4.0, < 1.4.6 | — |
| bacnet-stack | bacnet-stack | >= 1.5.0, < 1.5.1 | — |
| bacnet-stack | bacnet-stack | >= 1.6.0, < 1.6.1 | — |