CVE-2019-3570

CVSS V2 High 7.5 CVSS V3 Critical 9.8
Description
Call to the scrypt_enc() function in HHVM can lead to heap corruption by using specifically crafted parameters (N, r and p). This happens if the parameters are configurable by an attacker for instance by providing the output of scrypt_enc() in a context where Hack/PHP code would attempt to verify it by re-running scrypt_enc() with the same parameters. This could result in information disclosure, memory being overwriten or crashes of the HHVM process. This issue affects versions 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, versions 3.30.5 and below, and all versions in the 4.0, 4.1, and 4.2 series.
Overview
  • CVE ID
  • CVE-2019-3570
  • Assigner
  • cve-assign@fb.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2019-07-18T16:15:12
  • Last Modified Date
  • 2020-10-16T15:14:37
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:facebook:hiphop_virtual_machine:*:*:*:*:*:*:*:* 1 OR 3.30.5
cpe:2.3:a:facebook:hiphop_virtual_machine:*:*:*:*:*:*:*:* 1 OR 4.0.0 4.0.4
cpe:2.3:a:facebook:hiphop_virtual_machine:4.1.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:facebook:hiphop_virtual_machine:4.2.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:facebook:hiphop_virtual_machine:4.3.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:facebook:hiphop_virtual_machine:4.4.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:facebook:hiphop_virtual_machine:4.5.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:facebook:hiphop_virtual_machine:4.6.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:facebook:hiphop_virtual_machine:4.7.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:facebook:hiphop_virtual_machine:4.8.0:*:*:*:*:*:*:* 1 OR
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/06/10/hhvm-4.9.0.html Release Notes Vendor Advisory
https://github.com/facebook/hhvm/commit/cc331e4349e91706a673e2a09f1f2ea5bbb33815 Patch Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 17:07:28 Added to TrackCVE
2022-12-03 23:28:34 2019-07-18T16:15Z 2019-07-18T16:15:12 CVE Published Date updated
2022-12-03 23:28:34 2020-10-16T15:14:37 CVE Modified Date updated
2022-12-03 23:28:34 Analyzed Vulnerability Status updated