Descrizione
A reachable assertion vulnerability exists in the Matter SDK (connectedhomeip) before 1.4.0, in the interaction model command processing logic. When an InvokeCommandRequest is sent to a nonexistent endpoint and cluster (e.g., 0x34), the code incorrectly treats the endpoint as valid due to missing checks in CodegenDataModelProvider::Invoke. This causes a VerifyOrDie failure in ProcessCommandDataIB and results in a crash (SIGABRT). The issue has been acknowledged and fixed in a later revision (PR #37207).
Tipo di vulnerabilità
CWE-617
Asserzione raggiungibile
Il prodotto contiene un assert() o un’istruzione simile che un attaccante può far scattare, causando la chiusura dell’applicazione o un comportamento più grave del necessario.
Impatto sui sistemi
| Ambito | Impatto |
| Disponibilità |
Interruzione del servizio: arresto o riavvio |
Come si previene
Sviluppo
If the assertion statement is required (e.g., for security or reliability), change the invoking code to avoid the conditions that trigger the assertion.
Sviluppo
Consider changing the assertion to some other less fatal error. This might not be easy to implement, since other code may be needed to handle the error.
Sviluppo
Make sensitive open/close operations non-reachable from directly user-controlled data (e.g. open/close resources)
Sviluppo · Validazione dell’input
Perform input validation on user data.
Tutte le 933 CVE di tipo CWE-617, con andamento e prevenzione