Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-5033E2FC-98EC-4EF5-8E0B-87CFBBC73081 (CVE-2017-7890): php-gd and gd -- Buffer over-read into uninitialized memory

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

FreeBSD: VID-5033E2FC-98EC-4EF5-8E0B-87CFBBC73081 (CVE-2017-7890): php-gd and gd -- Buffer over-read into uninitialized memory

Severity
4
CVSS
(AV:N/AC:M/Au:N/C:P/I:N/A:N)
Published
08/02/2017
Created
07/25/2018
Added
09/26/2017
Modified
05/07/2019

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)

  • freebsd-upgrade-package-libgd
  • freebsd-upgrade-package-php70-gd
  • freebsd-upgrade-package-php71-gd

insightVM

Advanced vulnerability management analytics and reporting.
Key Features
  • Lightweight Endpoint Agent
  • Live Dashboards
  • Real Risk Prioritization
  • IT-Integrated Remediation Projects
  • Cloud, Virtual, and Container Assessment
  • Integrated Threat Feeds
  • Easy-to-Use RESTful API
  • Automation-Assisted Patching
  • Automated Containment
Free InsightVM Trial View All Features

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

;