Descrizione
NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_slice_module module. When the slice directive and unnamed regex captures are configured or when a background cache update happens, unauthenticated attackers can send requests that may cause uninitialized memory access in the NGINX worker process, leading to limited disclosure of memory or a restart.
Impact:
This vulnerability may allow remote, unauthenticated attackers to have limited control to disclose memory contents or restart the NGINX worker process. There is no control plane exposure; this is a data plane issue only.
Note: The ngx_http_slice_module module is not enabled by default; it's enabled with the --with-http_slice_module configuration parameter.
Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
Tipo di vulnerabilità
CWE-908
Uso di una risorsa non inizializzata
Il prodotto usa o accede a una risorsa che non è stata inizializzata.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza |
Leggere la memoria, Leggere i dati dell’applicazione |
| Disponibilità |
Interruzione del servizio: arresto o riavvio, Interruzione del servizio: instabilità |
| Altro |
Stato imprevisto, Dipende dal contesto |
Come si previene
Sviluppo
Explicitly initialize the resource before use. If this is performed through an API function or standard procedure, follow all required 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 the product with settings that generate warnings about uninitialized variables or data.
Tutte le 1.017 CVE di tipo CWE-908, con andamento e prevenzione