Information disclosure in PHP - CVE-2017-7890
Published: April 9, 2018 / Updated: April 12, 2018
Vulnerability details
The vulnerability allows a remote attacker to obtain potentially sensitive information.
The weakness exists in the GIF decoding function gdImageCreateFromGifCtx in gd_gif_in.c due to it does not zero colorMap arrays before use. A remote attacker can trick the victim into opening a specially crafted GIF image that could use the uninitialized tables to read ~700 bytes from the top of the stack and gain access to potentially sensitive information.
Affected software
Debian Linux
Amazon Linux AMI
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux for Power
Ubuntu
Slackware Linux
Fedora
gd (Alpine package)
php7 (Alpine package)
gd
How to mitigate CVE-2017-7890
php7 (Alpine package) - update to 7.1.10-r0
gd - addressed in versions 2.2.5-1.fc25, 2.2.5-1.fc26, 2.2.5-1.fc27
External References
Related Security Bulletins
- Ubuntu update for GD
- Ubuntu update for LibGD
- Debian update for libgd2
- Amazon Linux AMI update for php70
- Slackware Linux update for gd
- Red Hat update for php
- Red Hat update for php
- Information disclosure in php7 (Alpine package)
- Information disclosure in gd (Alpine package)
- Fedora 27 update for gd
- Fedora 25 update for gd
- Fedora 26 update for gd