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

CVE-2018-5711

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

Descrizione

gd_gif_in.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.33, 7.0.x before 7.0.27, 7.1.x before 7.1.13, and 7.2.x before 7.2.1, has an integer signedness error that leads to an infinite loop via a crafted GIF file, as demonstrated by a call to the imagecreatefromgif or imagecreatefromstring PHP function. This is related to GetCode_ and gdImageCreateFromGifCtx.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
canonical ubuntu linux 14.04 –
canonical ubuntu linux 16.04 –
canonical ubuntu linux 18.04 –
debian debian linux 7.0 –
debian debian linux 8.0 –
php php <= 5.6.32 –
php php >= 7.0.0 <= 7.0.26 –
php php > 7.1.0 <= 7.1.12 –
php php 7.2.0 –
Tutte le 757 vulnerabilità di Php

Tipo di vulnerabilità

CWE-681 Incorrect Conversion between Numeric Types

When converting from one data type to another, such as long to integer, data can be omitted or translated in a way that produces unexpected values. If the resulting values are used in a sensitive context, then dangerous behaviors may occur.

Impatto sui sistemi

AmbitoImpatto
Altro, Integrità Stato imprevisto, Degradare la qualità

Come si previene

Sviluppo Avoid making conversion between numeric types. Always check for the allowed ranges.

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

Tutte le 122 CVE di tipo CWE-681, con andamento e prevenzione

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