CVE-2019-3570

published 18 Jul 2019 · updated 4 Aug 2024

Call to the scrypt_enc() function in HHVM can lead to heap corruption by using specifically crafted parameters (N, r and p)

5.0MediumEPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in unspecified.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Facebook<=3.30.5, =3.30.6, =4.3.1, =4.4.0, =4.4.1, =4.5.0, =4.5.1, =4.6.0, =4.6.1, =4.7.0, =4.7.1, =4.8.0, =4.8.1, >=4.0.0 <unspecifiedunspecified

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2019-3570 severity on Zeptric[![CVE-2019-3570](https://zeptric.io/badge/cve/CVE-2019-3570.svg)](https://zeptric.io/cve/CVE-2019-3570)