1. Archivio CVE
  2. 2018
  3. CVE-2018-14682

CVE-2018-14682

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

Descrizione

An issue was discovered in mspack/chmd.c in libmspack before 0.7alpha. There is an off-by-one error in the TOLOWER() macro for CHM decompression.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
cabextract libmspack 0.0.20060920 alpha –
cabextract libmspack 0.3 alpha –
cabextract libmspack 0.4 alpha –
cabextract libmspack 0.5 alpha –
cabextract libmspack 0.6 alpha –
cabextract project cabextract <= 1.5 –
canonical ubuntu linux 12.04 –
canonical ubuntu linux 14.04 –
canonical ubuntu linux 16.04 –
canonical ubuntu linux 18.04 –
debian debian linux 8.0 –
debian debian linux 9.0 –
redhat ansible tower 3.3 –
redhat enterprise linux desktop 7.0 –
redhat enterprise linux server 7.0 –
redhat enterprise linux workstation 7.0 –

Tipo di vulnerabilità

CWE-193 Off-by-one Error

A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: arresto o riavvio, Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria, Interruzione del servizio: instabilità
Integrità Modificare la memoria
Riservatezza, Disponibilità, Controllo degli accessi Eseguire codice o comandi non autorizzati, Aggirare i meccanismi di protezione

Come si previene

Sviluppo When copying character arrays or using character manipulation methods, the correct size parameter must be used to account for the null terminator that needs to be added at the end of the array. Some examples of functions susceptible to this weakness in C include strcpy(), strncpy(), strcat(), strncat(), printf(), sprintf(), scanf() and sscanf().

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

Tutte le 233 CVE di tipo CWE-193, con andamento e prevenzione

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