Vulnerability Name:

CVE-2017-12932

Assigned:2017-08-17
Published:2017-08-14
Updated:2018-01-13
Summary:ext/standard/var_unserializer.re in PHP 7.0.x through 7.0.22 and 7.1.x through 7.1.8 is prone to a heap use after free while unserializing untrusted data, related to improper use of the hash API for key deletion in a situation with an invalid array size. Exploitation of this issue can have an unspecified impact on the integrity of PHP.
CVSS v3 Severity:9.8 Critical (CVSS v3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (Temporal CVSS v3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.5 High (CCN CVSS v3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N)
6.5 Medium (CCN Temporal CVSS v3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/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): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): High
Availibility (A): None
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
7.8 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:C/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Complete
Availibility (A): None
Vulnerability Type:CWE-416
References:Source: CONFIRM
Type: VENDOR_ADVISORY
http://php.net/ChangeLog-7.php

Source: BID
Type: VENDOR_ADVISORY
100427

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

Source: XF
Type: UNKNOWN
php-cve201712932-weak-security(130649)

Source: CONFIRM
Type: VENDOR_ADVISORY
https://github.com/php/php-src/commit/1a23ebc1fff59bf480ca92963b36eba5c1b904c4

Source: GENTOO
Type: UNKNOWN
GLSA-201709-21

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

Source: DEBIAN
Type: UNKNOWN
DSA-4080

Vulnerable Configuration:Configuration 1:
  • 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.0.21:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.0.22:*:*:*:*:*:*:*
  • 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:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.1.7:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.1.8:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:php:php:7.0.22:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.1.8:*:*:*:*:*:*:*

  • Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:201712932
    V
    CVE-2017-12932
    2018-01-23
    oval:com.ubuntu.xenial:def:201712932000
    V
    CVE-2017-12932 on Ubuntu 16.04 LTS (xenial) - low.
    2017-08-17
    oval:com.ubuntu.trusty:def:201712932000
    V
    CVE-2017-12932 on Ubuntu 14.04 LTS (trusty) - low.
    2017-08-17
    BACK
    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.0.21
    php php 7.0.22
    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
    php php 7.1.7
    php php 7.1.8