Descrizione
While investigating UBSAN errors in https://github.com/apache/arrow/pull/5365 it was discovered Apache Arrow versions 0.12.0 to 0.14.1, left memory Array data uninitialized when reading RLE null data from parquet. This affected the C++, Python, Ruby and R implementations. The uninitialized memory could potentially be shared if are transmitted over the wire (for instance with Flight) or persisted in the streaming IPC and file formats.
Tipo di vulnerabilità
CWE-909
Missing Initialization of Resource
The product does not initialize a critical resource.
Impatto sui sistemi
| Ambito | Impatto |
| Altro |
Dipende dal contesto |
| Riservatezza |
Leggere la memoria, Leggere i dati dell’applicazione |
| Disponibilità |
Interruzione del servizio: arresto o riavvio |
Come si previene
Sviluppo
Explicitly initialize the resource before use. If this is performed through an API function or standard procedure, follow all specified steps.
Sviluppo
Pay close attention to complex conditionals that affect initialization, since some branches might not perform the initialization.
Sviluppo
Avoid race conditions (CWE-362) during initialization routines.
Build e compilazione
Run or compile your product with settings that generate warnings about uninitialized variables or data.
Tutte le 93 CVE di tipo CWE-909, con andamento e prevenzione