Rapid7 Vulnerability & Exploit Database

PHP Vulnerability: CVE-2017-7890

Back to Search

PHP Vulnerability: CVE-2017-7890

Severity
4
CVSS
(AV:N/AC:M/Au:N/C:P/I:N/A:N)
Published
08/02/2017
Created
07/25/2018
Added
08/24/2017
Modified
07/21/2021

Description

The GIF decoding function gdImageCreateFromGifCtx in gd_gif_in.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.31 and 7.x before 7.1.7, does not zero colorMap arrays before use. A specially crafted GIF image could use the uninitialized tables to read ~700 bytes from the top of the stack, potentially disclosing sensitive information.

Solution(s)

  • php-upgrade-5_6_31
  • php-upgrade-7_0_21
  • php-upgrade-7_1_7

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;