CVE-2018-6345

CVSS V2 High 7.5 CVSS V3 Critical 9.8
Description
The function number_format is vulnerable to a heap overflow issue when its second argument ($dec_points) is excessively large. The internal implementation of the function will cause a string to be created with an invalid length, which can then interact poorly with other functions. This affects all supported versions of HHVM (3.30.1 and 3.27.5 and below).
Overview
  • CVE ID
  • CVE-2018-6345
  • Assigner
  • cve-assign@fb.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2019-01-15T22:29:00
  • Last Modified Date
  • 2020-09-21T12:29:26
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:* 1 OR 3.27.5
cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:* 1 OR 3.28.0 3.30.1
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:L/Au:N/C:P/I:P/A:P
  • Access Vector
  • NETWORK
  • Access Compatibility
  • LOW
  • Authentication
  • NONE
  • Confidentiality Impact
  • PARTIAL
  • Integrity Impact
  • PARTIAL
  • Availability Impact
  • PARTIAL
  • Base Score
  • 7.5
  • Severity
  • HIGH
  • Exploitability Score
  • 10
  • Impact Score
  • 6.4
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • HIGH
  • Availability Impact
  • HIGH
  • Base Score
  • 9.8
  • Base Severity
  • CRITICAL
  • Exploitability Score
  • 3.9
  • Impact Score
  • 5.9
References
Reference URL Reference Tags
https://hhvm.com/blog/2019/01/14/hhvm-3.30.2.html Release Notes Vendor Advisory
https://github.com/facebook/hhvm/commit/190ffdf6c8b1ec443be202c7d69e63a7e3da25e3 Patch Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 17:13:57 Added to TrackCVE
2022-12-03 16:26:15 2019-01-15T22:29Z 2019-01-15T22:29:00 CVE Published Date updated
2022-12-03 16:26:15 2020-09-21T12:29:26 CVE Modified Date updated
2022-12-03 16:26:15 Analyzed Vulnerability Status updated