Vulnerability Name:

CVE-2020-1919 (CCN-198093)

Assigned:2019-12-02
Published:2021-02-25
Updated:2021-03-15
Summary:Incorrect bounds calculations in substr_compare could lead to an out-of-bounds read when the second string argument passed in is longer than the first. This issue affects HHVM versions prior to 4.56.3, all versions between 4.57.0 and 4.80.1, all versions between 4.81.0 and 4.93.1, and versions 4.94.0, 4.95.0, 4.96.0, 4.97.0, 4.98.0.
CVSS v3 Severity:7.5 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N)
6.5 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/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): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): None
Availibility (A): None
7.5 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N)
6.5 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/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): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): None
Availibility (A): None
CVSS v2 Severity:5.0 Medium (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): None
Availibility (A): None
7.8 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:C/I:N/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): None
Availibility (A): None
Vulnerability Type:CWE-125
Vulnerability Consequences:Obtain Information
References:Source: MITRE
Type: CNA
CVE-2020-1919

Source: XF
Type: UNKNOWN
facebook-cve20201919-info-disc(198093)

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

Source: CCN
Type: HHVM Blog, February 25, 2021
HHVM

Source: MISC
Type: Release Notes, Vendor Advisory
https://hhvm.com/blog/2021/02/25/security-update.html

Vulnerable Configuration:Configuration 1:
  • cpe:/a:facebook:hhvm:*:*:*:*:*:*:*:* (Version < 4.56.3)
  • OR cpe:/a:facebook:hhvm:*:*:*:*:*:*:*:* (Version >= 4.57.0 and < 4.80.2)
  • OR cpe:/a:facebook:hhvm:*:*:*:*:*:*:*:* (Version >= 4.81.0 and < 4.93.2)
  • OR cpe:/a:facebook:hhvm:4.94.0:*:*:*:*:*:*:*
  • OR cpe:/a:facebook:hhvm:4.95.0:*:*:*:*:*:*:*
  • OR cpe:/a:facebook:hhvm:4.96.0:*:*:*:*:*:*:*
  • OR cpe:/a:facebook:hhvm:4.97.0:*:*:*:*:*:*:*
  • OR cpe:/a:facebook:hhvm:4.98.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    facebook hhvm *
    facebook hhvm *
    facebook hhvm *
    facebook hhvm 4.94.0
    facebook hhvm 4.95.0
    facebook hhvm 4.96.0
    facebook hhvm 4.97.0
    facebook hhvm 4.98.0