← Back to CVEs
CVE-2019-3570
CRITICAL9.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.
CVE Details
CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published7/18/2019
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0
Affected Products
facebook:hiphop_virtual_machine
Weaknesses (CWE)
CWE-122CWE-787
References
https://hhvm.com/blog/2019/06/10/hhvm-4.9.0.html(cve-assign@fb.com)
https://github.com/facebook/hhvm/commit/cc331e4349e91706a673e2a09f1f2ea5bbb33815(af854a3a-2127-422b-91ae-364da2661108)
https://hhvm.com/blog/2019/06/10/hhvm-4.9.0.html(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.