1. Archivio CVE
  2. 2023
  3. CVE-2023-36420

CVE-2023-36420

7.8 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H 7.8 – Alta

Descrizione

Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
microsoft odbc driver for sql server >= 17 < 17.10.5.1 linux
microsoft odbc driver for sql server >= 17 < 17.10.5.1 macos
microsoft odbc driver for sql server >= 17.0.1.1 < 17.10.5.1 windows
microsoft odbc driver for sql server >= 18.0 < 18.3.2.1 linux
microsoft odbc driver for sql server >= 18.0 < 18.3.2.1 macos
microsoft odbc driver for sql server >= 18.0.1.1 < 18.3.2.1 windows
microsoft sql server 2019 –
microsoft sql server 2022 –
Tutte le 23 vulnerabilità di Microsoft Odbc Driver For Sql Server
Tutte le 108 vulnerabilità di Microsoft Sql Server

Tipo di vulnerabilità

CWE-415 Doppia liberazione della memoria (double free)

Il prodotto chiama due volte free() sullo stesso indirizzo di memoria.

Impatto sui sistemi

AmbitoImpatto
Integrità, Riservatezza, Disponibilità Modificare la memoria, Eseguire codice o comandi non autorizzati

Come si previene

Architettura e progettazione Choose a language that provides automatic memory management.
Sviluppo Ensure that each allocation is freed only once. After freeing a chunk, set the pointer to NULL to ensure the pointer cannot be freed again. In complicated error conditions, be sure that clean-up routines respect the state of allocation properly. If the language is object oriented, ensure that object destructors delete each chunk of memory only once.
Sviluppo Use a static analysis tool to find double free instances.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 968 CVE di tipo CWE-415, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org