Descrizione
A flaw was found in libsoup's SoupServer. A remote attacker could exploit a use-after-free vulnerability where the `soup_server_disconnect()` function frees connection objects prematurely, even if a TLS handshake is still pending. If the handshake completes after the connection object has been freed, a dangling pointer is accessed, leading to a server crash and a Denial of Service.
Tipo di vulnerabilità
CWE-825
Expired Pointer Dereference
The product dereferences a pointer that contains a location for memory that was previously valid, but is no longer valid.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza |
Leggere la memoria |
| Disponibilità |
Interruzione del servizio: arresto o riavvio |
| Integrità, Riservatezza, Disponibilità |
Eseguire codice o comandi non autorizzati |
Come si previene
Architettura e progettazione
Choose a language that provides automatic memory management.
Sviluppo
When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.
Tutte le 36 CVE di tipo CWE-825, con andamento e prevenzione