Vulnerability Name:

CVE-2017-16231 (CCN-154726)

Assigned:2017-10-30
Published:2018-12-21
Updated:2019-04-02
Summary:** DISPUTED ** In PCRE 8.41, after compiling, a pcretest load test PoC produces a crash overflow in the function match() in pcre_exec.c because of a self-recursive call.
Note: third parties dispute the relevance of this report, noting that there are options that can be used to limit the amount of stack that is used.
CVSS v3 Severity:5.5 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
4.9 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:U/RL:U/RC:R)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
3.3 Low (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L)
2.9 Low (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:U/RL:U/RC:R)
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): None
Integrity (I): None
Availibility (A): Low
CVSS v2 Severity:2.1 Low (CVSS v2 Vector: AV:L/AC:L/Au:N/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
1.7 Low (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
Vulnerability Type:CWE-119
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2017-16231

Source: MISC
Type: Third Party Advisory, VDB Entry
http://packetstormsecurity.com/files/150897/PCRE-8.41-Buffer-Overflow.html

Source: MISC
Type: Mailing List, Third Party Advisory
http://seclists.org/fulldisclosure/2018/Dec/33

Source: MISC
Type: Mailing List, Third Party Advisory
http://www.openwall.com/lists/oss-security/2017/11/01/11

Source: MISC
Type: Exploit, Mailing List, Third Party Advisory
http://www.openwall.com/lists/oss-security/2017/11/01/3

Source: MISC
Type: Mailing List, Third Party Advisory
http://www.openwall.com/lists/oss-security/2017/11/01/7

Source: MISC
Type: Exploit, Mailing List, Third Party Advisory
http://www.openwall.com/lists/oss-security/2017/11/01/8

Source: MISC
Type: Third Party Advisory, VDB Entry
http://www.securityfocus.com/bid/101688

Source: CONFIRM
Type: Issue Tracking, Third Party Advisory
https://bugs.exim.org/show_bug.cgi?id=2047

Source: XF
Type: UNKNOWN
pcre-cve201716231-dos(154726)

Source: CCN
Type: Packet Storm Security [12-21-2018]
PCRE 8.41 Buffer Overflow

Source: CCN
Type: SourceForge PCRE Project Web page
PCRE

Source: CCN
Type: IBM Security Bulletin 1136692 (MQ Appliance)
IBM MQ Appliance is affected by a PCRE vulnerability (CVE-2017-16231)

Source: CCN
Type: IBM Security Bulletin 6091024 (DataPower Gateway)
IBM DataPower Gateway is potentially vulnerable to a DoS issue when processing regular expressions (CVE-2017-16231)

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2017-16231

Vulnerable Configuration:Configuration 1:
  • cpe:/a:pcre:pcre:8.41:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:pcre:pcre:8.41:*:*:*:*:*:*:*
  • AND
  • cpe:/a:ibm:mq_appliance:8.0.0.3:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:mq_appliance:8.0.0.4:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:mq_appliance:8.0.0.5:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:mq_appliance:8.0.0.6:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:mq_appliance:8.0.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:mq_appliance:8.0.0.8:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:mq_appliance:8.0.0.10:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:datapower_gateway:2018.4.1.0:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:mq_appliance:8.0.0.11:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:mq_appliance:9.1.0.1:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:mq_appliance:9.1.1:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:mq_appliance:8.0.0.1:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:mq_appliance:8.0.0.7:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:mq_appliance:8.0.0.9:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:mq_appliance:8.0.0.12:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:mq_appliance:9.1.0.2:*:*:*:continuous_delivery:*:*:*
  • OR cpe:/a:ibm:mq_appliance:9.1.2:*:*:*:continuous_delivery:*:*:*
  • OR cpe:/a:ibm:mq_appliance:9.1.0.3:*:*:*:continuous_delivery:*:*:*
  • OR cpe:/a:ibm:mq_appliance:9.1.3:*:*:*:continuous_delivery:*:*:*
  • OR cpe:/a:ibm:mq_appliance:9.1:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:mq_appliance:8.0.0.13:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:mq_appliance:9.1.0.4:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:mq_appliance:9.1.4:*:*:*:continuous_delivery:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.xenial:def:2017162310000000
    V
    CVE-2017-16231 on Ubuntu 16.04 LTS (xenial) - negligible.
    2019-03-21
    oval:com.ubuntu.xenial:def:201716231000
    V
    CVE-2017-16231 on Ubuntu 16.04 LTS (xenial) - negligible.
    2019-03-21
    oval:com.ubuntu.disco:def:2017162310000000
    V
    CVE-2017-16231 on Ubuntu 19.04 (disco) - negligible.
    2019-03-21
    oval:com.ubuntu.bionic:def:201716231000
    V
    CVE-2017-16231 on Ubuntu 18.04 LTS (bionic) - negligible.
    2019-03-21
    oval:com.ubuntu.cosmic:def:2017162310000000
    V
    CVE-2017-16231 on Ubuntu 18.10 (cosmic) - negligible.
    2019-03-21
    oval:com.ubuntu.cosmic:def:201716231000
    V
    CVE-2017-16231 on Ubuntu 18.10 (cosmic) - negligible.
    2019-03-21
    oval:com.ubuntu.bionic:def:2017162310000000
    V
    CVE-2017-16231 on Ubuntu 18.04 LTS (bionic) - negligible.
    2019-03-21
    oval:com.ubuntu.trusty:def:201716231000
    V
    CVE-2017-16231 on Ubuntu 14.04 LTS (trusty) - negligible.
    2019-03-21
    oval:com.ubuntu.artful:def:201716231000
    V
    CVE-2017-16231 on Ubuntu 17.10 (artful) - negligible.
    2017-11-02
    BACK
    pcre pcre 8.41
    pcre pcre 8.41
    ibm mq appliance 8.0.0.3
    ibm mq appliance 8.0.0.4
    ibm mq appliance 8.0.0.5
    ibm mq appliance 8.0.0.6
    ibm mq appliance 8.0.0.0
    ibm mq appliance 8.0.0.8
    ibm mq appliance 8.0.0.10
    ibm datapower gateway 2018.4.1.0
    ibm mq appliance 8.0.0.11
    ibm mq appliance 9.1.0.1
    ibm mq appliance 9.1.1
    ibm mq appliance 8.0.0.1
    ibm mq appliance 8.0.0.7
    ibm mq appliance 8.0.0.9
    ibm mq appliance 8.0.0.12
    ibm mq appliance 9.1.0.2
    ibm mq appliance 9.1.2
    ibm mq appliance 9.1.0.3
    ibm mq appliance 9.1.3
    ibm mq appliance 9.1
    ibm mq appliance 8.0.0.13
    ibm mq appliance 9.1.0.4
    ibm mq appliance 9.1.4