9.8
CRITICAL
CVE-2019-3570
HHVM scrypt_enc Heap Corruption Vulnerability
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.

INFO

Published Date :

July 18, 2019, 4:15 p.m.

Last Modified :

Oct. 16, 2020, 3:14 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2019-3570 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Facebook hhvm
2 Facebook hiphop_virtual_machine
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2019-3570.

URL Resource
https://github.com/facebook/hhvm/commit/cc331e4349e91706a673e2a09f1f2ea5bbb33815 Patch Third Party Advisory
https://hhvm.com/blog/2019/06/10/hhvm-4.9.0.html Release Notes Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2019-3570 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2019-3570 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Oct. 16, 2020

    Action Type Old Value New Value
    Removed CVSS V3 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Removed CWE NIST CWE-119
    Added CWE NIST CWE-787
  • CVE Modified by [email protected]

    Oct. 09, 2019

    Action Type Old Value New Value
    Added CWE Facebook, Inc. CWE-122
  • Initial Analysis by [email protected]

    Aug. 05, 2019

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/facebook/hhvm/commit/cc331e4349e91706a673e2a09f1f2ea5bbb33815 No Types Assigned https://github.com/facebook/hhvm/commit/cc331e4349e91706a673e2a09f1f2ea5bbb33815 Patch, Third Party Advisory
    Changed Reference Type https://hhvm.com/blog/2019/06/10/hhvm-4.9.0.html No Types Assigned https://hhvm.com/blog/2019/06/10/hhvm-4.9.0.html Release Notes, Vendor Advisory
    Added CWE CWE-119
    Added CPE Configuration OR *cpe:2.3:a:facebook:hiphop_virtual_machine:*:*:*:*:*:*:*:* versions up to (including) 3.30.5 *cpe:2.3:a:facebook:hiphop_virtual_machine:*:*:*:*:*:*:*:* versions from (including) 4.0.0 up to (including) 4.0.4 *cpe:2.3:a:facebook:hiphop_virtual_machine:4.1.0:*:*:*:*:*:*:* *cpe:2.3:a:facebook:hiphop_virtual_machine:4.2.0:*:*:*:*:*:*:* *cpe:2.3:a:facebook:hiphop_virtual_machine:4.3.0:*:*:*:*:*:*:* *cpe:2.3:a:facebook:hiphop_virtual_machine:4.4.0:*:*:*:*:*:*:* *cpe:2.3:a:facebook:hiphop_virtual_machine:4.5.0:*:*:*:*:*:*:* *cpe:2.3:a:facebook:hiphop_virtual_machine:4.6.0:*:*:*:*:*:*:* *cpe:2.3:a:facebook:hiphop_virtual_machine:4.7.0:*:*:*:*:*:*:* *cpe:2.3:a:facebook:hiphop_virtual_machine:4.8.0:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2019-3570 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2019-3570 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.23 }} 0.00%

score

0.59294

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability