CVE-2019-3570: Critical severity Facebook HipHop Virtual Machine vulnerability
Call to the scryptenc() 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 scryptenc() in a context where Hack/PHP code would attempt to verify it by re-running scryptenc() 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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2019-3570?
CVE-2019-3570 is considered a high severity vulnerability due to its potential to cause heap corruption.
How do I fix CVE-2019-3570?
To fix CVE-2019-3570, upgrade to HHVM version 4.9.0 or later, which addresses this vulnerability.
Which versions of HHVM are affected by CVE-2019-3570?
CVE-2019-3570 affects HHVM versions up to and including 4.8.0 and the 3.30.5 version.
What type of vulnerability is CVE-2019-3570?
CVE-2019-3570 is a heap corruption vulnerability caused by improper handling of parameters in the scrypt_enc() function.
Can an attacker exploit CVE-2019-3570 remotely?
Yes, an attacker can exploit CVE-2019-3570 remotely if they can manipulate the parameters used in the scrypt_enc() function.