Vulnerability Name:

CVE-2018-6340 (CCN-155183)

Assigned:2018-12-18
Published:2018-12-18
Updated:2019-10-09
Summary:The Memcache::getextendedstats function can be used to trigger an out-of-bounds read. Exploiting this issue requires control over memcached server hostnames and/or ports. This affects all supported versions of HHVM (3.30 and 3.27.4 and below).
CVSS v3 Severity:8.1 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H)
7.1 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/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): High
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
4.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L)
3.8 Low (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
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): Low
CVSS v2 Severity:6.8 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
4.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:S/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
Vulnerability Type:CWE-125
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2018-6340

Source: XF
Type: UNKNOWN
hhvm-cve20186340-dos(155183)

Source: CCN
Type: HHVM GIT Repository
CVE-2018-6340 Fix buffer overread

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/facebook/hhvm/commit/4bff3bfbe90d10451e4638c2118d1ad1117bb3e3

Source: CCN
Type: HHVM Blog, December 18, 2018
HHVM 3.30.1 and 3.27.5

Source: MISC
Type: Third Party Advisory
https://hhvm.com/blog/2018/12/18/hhvm-3.30.1.html

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2018-6340

Vulnerable Configuration:Configuration 1:
  • cpe:/a:facebook:hhvm:*:*:*:*:*:*:*:* (Version <= 3.27.4)
  • OR cpe:/a:facebook:hhvm:3.30:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:facebook:hhvm:3.30:*:*:*:*:*:*:*
  • OR cpe:/a:facebook:hhvm:3.27.4:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.bionic:def:20186340000
    V
    CVE-2018-6340 on Ubuntu 18.04 LTS (bionic) - low.
    2018-12-31
    oval:com.ubuntu.xenial:def:20186340000
    V
    CVE-2018-6340 on Ubuntu 16.04 LTS (xenial) - low.
    2018-12-31
    oval:com.ubuntu.bionic:def:201863400000000
    V
    CVE-2018-6340 on Ubuntu 18.04 LTS (bionic) - low.
    2018-12-31
    oval:com.ubuntu.xenial:def:201863400000000
    V
    CVE-2018-6340 on Ubuntu 16.04 LTS (xenial) - low.
    2018-12-31
    BACK
    facebook hhvm *
    facebook hhvm 3.30
    facebook hhvm 3.30
    facebook hhvm 3.27.4