CVE-2019-3570: Critical severity Facebook HipHop Virtual Machine vulnerability

Published Jul 18, 2019
·
Updated

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

10 affected components
Facebook HipHop Virtual Machine<=3.30.5
Facebook HipHop Virtual Machine>=4.0.0<=4.0.4
Facebook HipHop Virtual Machine=4.1.0
Facebook HipHop Virtual Machine=4.2.0
Facebook HipHop Virtual Machine=4.3.0
Facebook HipHop Virtual Machine=4.4.0
Facebook HipHop Virtual Machine=4.5.0
Facebook HipHop Virtual Machine=4.6.0
Facebook HipHop Virtual Machine=4.7.0
Facebook HipHop Virtual Machine=4.8.0

Event History

Jul 18, 2019
CVE Published
via MITRE·03:42 PM
Data Sourced
via MITRE·03:42 PM
DescriptionWeakness
Data Sourced
via OSV·04:15 PM
DescriptionSeverity

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203