Vulnerability Name:

CVE-2017-8923 (CCN-125935)

Assigned:2017-05-12
Published:2017-05-12
Updated:2022-07-20
Summary:The zend_string_extend function in Zend/zend_string.h in PHP through 7.1.5 does not prevent changes to string objects that result in a negative length, which allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact by leveraging a script's use of .= with a long string.
CVSS v3 Severity:9.8 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.6 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:U/RC:R)
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
5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L)
4.7 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U/RL:U/RC:R)
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): None
Availibility (A): Low
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
5.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
Vulnerability Type:CWE-787
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2017-8923

Source: BID
Type: Third Party Advisory, VDB Entry
98518

Source: CCN
Type: BID-98518
PHP 'zend_string_extend()' Function Denial of Service Vulnerability

Source: CCN
Type: PHP Bug #74577
Memory corruption in zend_string_extend

Source: MISC
Type: Exploit, Issue Tracking, Vendor Advisory
https://bugs.php.net/bug.php?id=74577

Source: XF
Type: UNKNOWN
php-cve20178923-dos(125935)

Vulnerable Configuration:Configuration 1:
  • cpe:/a:php:php:*:*:*:*:*:*:*:* (Version >= 8.0.0 and < 8.0.11)
  • OR cpe:/a:php:php:*:*:*:*:*:*:*:* (Version < 7.4.24)

  • Configuration CCN 1:
  • cpe:/a:php:php:7.1.5:-:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:1535
    P
    Security update for php7 (Moderate)
    2022-03-03
    oval:org.opensuse.security:def:1722
    P
    Security update for php7 (Moderate)
    2022-03-03
    oval:org.opensuse.security:def:102099
    P
    Security update for php7 (Moderate)
    2022-03-03
    oval:org.opensuse.security:def:102280
    P
    Security update for php7 (Moderate)
    2022-03-03
    oval:org.opensuse.security:def:5353
    P
    Security update for php72 (Moderate)
    2022-02-25
    oval:org.opensuse.security:def:5349
    P
    Security update for php74 (Moderate)
    2022-02-21
    oval:com.ubuntu.xenial:def:201789230000000
    V
    CVE-2017-8923 on Ubuntu 16.04 LTS (xenial) - low.
    2017-05-12
    oval:com.ubuntu.artful:def:20178923000
    V
    CVE-2017-8923 on Ubuntu 17.10 (artful) - low.
    2017-05-12
    oval:com.ubuntu.xenial:def:20178923000
    V
    CVE-2017-8923 on Ubuntu 16.04 LTS (xenial) - low.
    2017-05-12
    oval:com.ubuntu.disco:def:201789230000000
    V
    CVE-2017-8923 on Ubuntu 19.04 (disco) - low.
    2017-05-12
    oval:com.ubuntu.bionic:def:20178923000
    V
    CVE-2017-8923 on Ubuntu 18.04 LTS (bionic) - low.
    2017-05-12
    oval:com.ubuntu.cosmic:def:201789230000000
    V
    CVE-2017-8923 on Ubuntu 18.10 (cosmic) - low.
    2017-05-12
    oval:com.ubuntu.cosmic:def:20178923000
    V
    CVE-2017-8923 on Ubuntu 18.10 (cosmic) - low.
    2017-05-12
    oval:com.ubuntu.bionic:def:201789230000000
    V
    CVE-2017-8923 on Ubuntu 18.04 LTS (bionic) - low.
    2017-05-12
    oval:com.ubuntu.trusty:def:20178923000
    V
    CVE-2017-8923 on Ubuntu 14.04 LTS (trusty) - low.
    2017-05-12
    BACK
    php php *
    php php *
    php php 7.1.5 -