1. Archivio CVE
  2. 2021
  3. CVE-2021-1875

CVE-2021-1875

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

A double free issue was addressed with improved memory management. This issue is fixed in Security Update 2021-002 Catalina, Security Update 2021-003 Mojave, iOS 14.5 and iPadOS 14.5, watchOS 7.4, tvOS 14.5, macOS Big Sur 11.3. Processing a maliciously crafted file may lead to heap corruption.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
apple ipados < 14.5 –
apple iphone os < 14.5 –
apple mac os x 10.14.4 beta4 –
apple mac os x 10.14.5 –
apple mac os x 10.14.6 –
apple mac os x 10.14.6 –
apple mac os x 10.14.6 security_update_2019-001 –
apple mac os x 10.14.6 security_update_2019-002 –
apple mac os x 10.14.6 security_update_2019-004 –
apple mac os x 10.14.6 security_update_2019-005 –
apple mac os x 10.14.6 security_update_2019-006 –
apple mac os x 10.14.6 security_update_2019-007 –
apple mac os x 10.14.6 security_update_2020-001 –
apple mac os x 10.14.6 security_update_2020-002 –
apple mac os x 10.14.6 security_update_2020-003 –
apple mac os x 10.14.6 security_update_2020-004 –
apple mac os x 10.14.6 security_update_2020-005 –
apple mac os x 10.14.6 security_update_2020-006 –
apple mac os x 10.14.6 security_update_2020-007 –
apple mac os x 10.14.6 security_update_2021-001 –
apple mac os x 10.14.6 security_update_2021-002 –
apple mac os x 10.15 –
apple mac os x 10.15.1 –
apple mac os x 10.15.2 –
apple mac os x 10.15.3 –
apple mac os x 10.15.4 –
apple mac os x 10.15.5 –
apple mac os x 10.15.6 –
apple mac os x 10.15.6 –
apple mac os x 10.15.6 supplemental_update –
apple mac os x 10.15.7 –
apple mac os x 10.15.7 –
apple mac os x 10.15.7 security_update_2020 –
apple mac os x 10.15.7 security_update_2020-001 –
apple mac os x 10.15.7 security_update_2020-005 –
apple mac os x 10.15.7 security_update_2020-007 –
apple mac os x 10.15.7 security_update_2021-001 –
apple mac os x 10.14 –
apple mac os x 10.14.0 –
apple mac os x 10.14.1 –
apple mac os x 10.14.2 –
apple mac os x 10.14.3 –
apple mac os x 10.14.4 –
apple macos >= 11.0 < 11.3 –
apple tvos < 14.5 –
apple watchos < 7.4 –
Tutte le 2.405 vulnerabilità di Apple Ipados
Tutte le 3.524 vulnerabilità di Apple Macos
Tutte le 2.247 vulnerabilità di Apple Tvos

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