Descrizione
BACnet Stack is a BACnet open source protocol stack C library for embedded systems. From versions 1.4.0 to before 1.4.4, and 1.5.0 to before 1.5.1, an uninitialized value use vulnerability in bacnet-stack's AtomicReadFile record-access ACK encoder allows unauthenticated remote attackers to corrupt the encoded OCTET STRING length and payload boundary in network responses by sending a crafted AtomicReadFile request that reaches a successful record-access path. This issue has been patched in versions 1.4.4 and 1.5.1.
Tipo di vulnerabilità
CWE-457
Use of Uninitialized Variable
The code uses a variable that has not been initialized, leading to unpredictable or unintended results.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza, Integrità, Disponibilità, Altro |
Dipende dal contesto, Leggere i dati dell’applicazione |
| Disponibilità |
Alterare la logica di esecuzione, Stato imprevisto |
| Autorizzazione, Altro |
Dipende dal contesto |
Come si previene
Sviluppo · Riduzione della superficie di attacco
Ensure that critical variables are initialized before first use.
Build e compilazione · Hardening della compilazione
Most compilers will complain about the use of uninitialized variables if warnings are turned on.
Sviluppo · Esercizio
When using a language that does not require explicit declaration of variables, run or compile the software in a mode that reports undeclared or unknown variables. This may indicate the presence of a typographic error in the variable's name.
Requisiti · Scelta del linguaggio
Choose a language that is not susceptible to these issues.
Architettura e progettazione
Mitigating technologies such as safe string libraries and container abstractions could be introduced.
Tutte le 222 CVE di tipo CWE-457, con andamento e prevenzione