CVE-2017-7890 Information disclosure in n/a
A crafted GIF image can trigger uninitialized memory reads in libgd, allowing attackers to disclose sensitive stack data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2017-7890?
CVE-2017-7890 is a medium-severity vulnerability in Php Php, published on 2 Aug 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-200
Which versions are affected by CVE-2017-7890?
It affects 1 product.
Linux distribution packages (40)
php Red Hat:enterprise_linux:7::client | All versions | 0:5.4.16-43.el7_4.1 |
php-bcmath Red Hat:enterprise_linux:7::client | All versions | 0:5.4.16-43.el7_4.1 |
php-cli Red Hat:enterprise_linux:7::client | All versions | 0:5.4.16-43.el7_4.1 |
php-common Red Hat:enterprise_linux:7::client | All versions | 0:5.4.16-43.el7_4.1 |
php-dba Red Hat:enterprise_linux:7::client | All versions | 0:5.4.16-43.el7_4.1 |
php-debuginfo Red Hat:enterprise_linux:7::client | All versions | 0:5.4.16-43.el7_4.1 |
php-devel Red Hat:enterprise_linux:7::client | All versions | 0:5.4.16-43.el7_4.1 |
php-embedded Red Hat:enterprise_linux:7::client | All versions | 0:5.4.16-43.el7_4.1 |
php-enchant Red Hat:enterprise_linux:7::client | All versions | 0:5.4.16-43.el7_4.1 |
php-fpm Red Hat:enterprise_linux:7::client | All versions | 0:5.4.16-43.el7_4.1 |
php-gd Red Hat:enterprise_linux:7::client | All versions | 0:5.4.16-43.el7_4.1 |
php-intl Red Hat:enterprise_linux:7::client | All versions | 0:5.4.16-43.el7_4.1 |
php-ldap Red Hat:enterprise_linux:7::client | All versions | 0:5.4.16-43.el7_4.1 |
php-mbstring Red Hat:enterprise_linux:7::client | All versions | 0:5.4.16-43.el7_4.1 |
php-mysql Red Hat:enterprise_linux:7::client | All versions | 0:5.4.16-43.el7_4.1 |
php-mysqlnd Red Hat:enterprise_linux:7::client | All versions | 0:5.4.16-43.el7_4.1 |
php-odbc Red Hat:enterprise_linux:7::client | All versions | 0:5.4.16-43.el7_4.1 |
php-pdo Red Hat:enterprise_linux:7::client | All versions | 0:5.4.16-43.el7_4.1 |
php-pgsql Red Hat:enterprise_linux:7::client | All versions | 0:5.4.16-43.el7_4.1 |
php-process Red Hat:enterprise_linux:7::client | All versions | 0:5.4.16-43.el7_4.1 |
php-pspell Red Hat:enterprise_linux:7::client | All versions | 0:5.4.16-43.el7_4.1 |
php-recode Red Hat:enterprise_linux:7::client | All versions | 0:5.4.16-43.el7_4.1 |
php-snmp Red Hat:enterprise_linux:7::client | All versions | 0:5.4.16-43.el7_4.1 |
php-soap Red Hat:enterprise_linux:7::client | All versions | 0:5.4.16-43.el7_4.1 |
php-xml Red Hat:enterprise_linux:7::client | All versions | 0:5.4.16-43.el7_4.1 |
php-xmlrpc Red Hat:enterprise_linux:7::client | All versions | 0:5.4.16-43.el7_4.1 |
php Red Hat:enterprise_linux:7::computenode | All versions | 0:5.4.16-43.el7_4.1 |
php-bcmath Red Hat:enterprise_linux:7::computenode | All versions | 0:5.4.16-43.el7_4.1 |
php-cli Red Hat:enterprise_linux:7::computenode | All versions | 0:5.4.16-43.el7_4.1 |
php-common Red Hat:enterprise_linux:7::computenode | All versions | 0:5.4.16-43.el7_4.1 |
php-dba Red Hat:enterprise_linux:7::computenode | All versions | 0:5.4.16-43.el7_4.1 |
php-debuginfo Red Hat:enterprise_linux:7::computenode | All versions | 0:5.4.16-43.el7_4.1 |
php-devel Red Hat:enterprise_linux:7::computenode | All versions | 0:5.4.16-43.el7_4.1 |
php-embedded Red Hat:enterprise_linux:7::computenode | All versions | 0:5.4.16-43.el7_4.1 |
php-enchant Red Hat:enterprise_linux:7::computenode | All versions | 0:5.4.16-43.el7_4.1 |
php-fpm Red Hat:enterprise_linux:7::computenode | All versions | 0:5.4.16-43.el7_4.1 |
php-gd Red Hat:enterprise_linux:7::computenode | All versions | 0:5.4.16-43.el7_4.1 |
php-intl Red Hat:enterprise_linux:7::computenode | All versions | 0:5.4.16-43.el7_4.1 |
php-ldap Red Hat:enterprise_linux:7::computenode | All versions | 0:5.4.16-43.el7_4.1 |
php-mbstring Red Hat:enterprise_linux:7::computenode | All versions | 0:5.4.16-43.el7_4.1 |
Products include Php Php.
How do I fix CVE-2017-7890?
Upgrade to a fixed version.
Is CVE-2017-7890 being exploited?
There is no known exploitation of CVE-2017-7890 in the wild and no public exploit code.
Other vulnerabilities in Php Php
Sources
Also known as ALPINE-CVE-2017-7890, DEBIAN-CVE-2017-7890, DLA-1055-1, DSA-3938-1, GHSA-2cx4-qmrc-3ff4, RHSA-2018:0406 and 2 more.