1. Archivio CVE
  2. 2017
  3. CVE-2017-13132

CVE-2017-13132

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

Descrizione

In ImageMagick 7.0.6-8, the WritePDFImage function in coders/pdf.c operates on an incorrect data structure in the "dump uncompressed PseudoColor packets" step, which allows attackers to cause a denial of service (assertion failure in WriteBlobStream in MagickCore/blob.c) via a crafted file.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
imagemagick imagemagick 7.0.6-8 –
Tutte le 950 vulnerabilità di Imagemagick

Tipo di vulnerabilità

CWE-617 Asserzione raggiungibile

Il prodotto contiene un assert() o un’istruzione simile che un attaccante può far scattare, causando la chiusura dell’applicazione o un comportamento più grave del necessario.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: arresto o riavvio

Come si previene

Sviluppo If the assertion statement is required (e.g., for security or reliability), change the invoking code to avoid the conditions that trigger the assertion.
Sviluppo Consider changing the assertion to some other less fatal error. This might not be easy to implement, since other code may be needed to handle the error.
Sviluppo Make sensitive open/close operations non-reachable from directly user-controlled data (e.g. open/close resources)
Sviluppo · Validazione dell’input Perform input validation on user data.

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

Tutte le 925 CVE di tipo CWE-617, con andamento e prevenzione

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