Descrizione
In Eclipse Openj9 to version 0.25.0, usage of the jdk.internal.reflect.ConstantPool API causes the JVM in some cases to pre-resolve certain constant pool entries. This allows a user to call static methods or access static members without running the class initialization method, and may allow a user to observe uninitialized values.
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 94 CVE di tipo CWE-909, con andamento e prevenzione