Vulnerability Name:

CVE-2017-7890

Assigned:2017-04-17
Published:2017-07-10
Updated:2018-03-07
Summary: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.
CVSS v3 Severity:6.5 Medium (CVSS v3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N)
5.7 Medium (Temporal CVSS v3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): None
Availibility (A): None
5.5 Medium (CCN CVSS v3 Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N)
4.8 Medium (CCN Temporal CVSS v3 Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): None
Availibility (A): None
5.5 Medium (REDHAT CVSS v3 Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N)
4.8 Medium (REDHAT Temporal CVSS v3 Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): None
Availibility (A): None
CVSS v2 Severity:4.3 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:N/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): None
Availibility (A): None
4.6 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:C/I:N/A:N)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): None
Availibility (A): None
Vulnerability Type:CWE-200
References:Source: CONFIRM
Type: VENDOR_ADVISORY
http://php.net/ChangeLog-5.php

Source: CONFIRM
Type: VENDOR_ADVISORY
http://php.net/ChangeLog-7.php

Source: DEBIAN
Type: UNKNOWN
DSA-3938

Source: BID
Type: VENDOR_ADVISORY
99492

Source: REDHAT
Type: UNKNOWN
RHSA-2018:0406

Source: CONFIRM
Type: VENDOR_ADVISORY
https://bugs.php.net/bug.php?id=74435

Source: CONFIRM
Type: VENDOR_ADVISORY
https://bugs.php.net/patch-display.php?bug=74435&patch=fix-74435-php-7.0&revision=1497970038

Source: XF
Type: UNKNOWN
libgd-cve20177890-info-disc(129822)

Source: CONFIRM
Type: UNKNOWN
https://security.netapp.com/advisory/ntap-20180112-0001/

Source: CONFIRM
Type: UNKNOWN
https://www.tenable.com/security/tns-2017-12

Vulnerable Configuration:Configuration 1:
  • cpe:/a:php:php:5.6.30:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.0.1:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.0.2:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.0.3:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.0.4:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.0.5:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.0.6:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.0.7:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.0.8:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.0.9:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.0.10:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.0.11:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.0.12:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.0.13:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.0.14:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.0.15:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.0.16:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.0.17:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.0.18:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.0.19:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.0.20:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.1.0:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.1.1:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.1.2:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.1.3:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.1.4:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.1.5:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.1.6:*:*:*:*:*:*:*

  • Configuration RedHat 1:
  • cpe:/o:redhat:enterprise_linux:7:*:*:*:*:*:*:*

  • Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:20177890
    V
    CVE-2017-7890
    2018-04-20
    oval:com.redhat.rhsa:def:20180406
    P
    RHSA-2018:0406: php security update (Moderate)
    2018-03-06
    oval:com.ubuntu.trusty:def:20177890000
    V
    CVE-2017-7890 on Ubuntu 14.04 LTS (trusty) - medium.
    2017-08-02
    oval:com.ubuntu.xenial:def:20177890000
    V
    CVE-2017-7890 on Ubuntu 16.04 LTS (xenial) - medium.
    2017-08-02
    BACK
    php php 5.6.30
    php php 7.0.0
    php php 7.0.1
    php php 7.0.2
    php php 7.0.3
    php php 7.0.4
    php php 7.0.5
    php php 7.0.6
    php php 7.0.7
    php php 7.0.8
    php php 7.0.9
    php php 7.0.10
    php php 7.0.11
    php php 7.0.12
    php php 7.0.13
    php php 7.0.14
    php php 7.0.15
    php php 7.0.16
    php php 7.0.17
    php php 7.0.18
    php php 7.0.19
    php php 7.0.20
    php php 7.1.0
    php php 7.1.1
    php php 7.1.2
    php php 7.1.3
    php php 7.1.4
    php php 7.1.5
    php php 7.1.6