CVE-2019-3570
Published Jul 18, 2019
Last updated 4 years ago
Overview
- 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.
- Source
- cve-assign@fb.com
- NVD status
- Analyzed
Risk scores
CVSS 3.1
- Type
- Primary
- Base score
- 9.8
- Impact score
- 5.9
- Exploitability score
- 3.9
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Severity
- CRITICAL
CVSS 2.0
- Type
- Primary
- Base score
- 7.5
- Impact score
- 6.4
- Exploitability score
- 10
- Vector string
- AV:N/AC:L/Au:N/C:P/I:P/A:P
Social media
- Hype score
- Not currently trending
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:facebook:hiphop_virtual_machine:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "7300A72B-8FCE-4F1D-A52A-CEF086502729", "versionEndIncluding": "3.30.5" }, { "criteria": "cpe:2.3:a:facebook:hiphop_virtual_machine:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "13CFD992-D6E6-40E0-BD63-6782956332DE", "versionEndIncluding": "4.0.4", "versionStartIncluding": "4.0.0" }, { "criteria": "cpe:2.3:a:facebook:hiphop_virtual_machine:4.1.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "7105CCC0-A141-4AE9-84C1-87582AA0E443" }, { "criteria": "cpe:2.3:a:facebook:hiphop_virtual_machine:4.2.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "E97B345E-5B33-4723-8A19-33B297FFB964" }, { "criteria": "cpe:2.3:a:facebook:hiphop_virtual_machine:4.3.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "1BD9995D-6695-4EB5-B307-AD6B2002D918" }, { "criteria": "cpe:2.3:a:facebook:hiphop_virtual_machine:4.4.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "03A26433-3B9D-4E38-AD43-5DF0D21BE6D2" }, { "criteria": "cpe:2.3:a:facebook:hiphop_virtual_machine:4.5.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "BF29D566-16FE-4D0B-BA09-64C5323DABC6" }, { "criteria": "cpe:2.3:a:facebook:hiphop_virtual_machine:4.6.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "3EF05E05-0D7C-424F-8655-85926D14C6D8" }, { "criteria": "cpe:2.3:a:facebook:hiphop_virtual_machine:4.7.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "428F37ED-6B16-4A78-A7DC-01042F96C0D7" }, { "criteria": "cpe:2.3:a:facebook:hiphop_virtual_machine:4.8.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "891439D0-5C5C-4DAE-ADD5-4541BE8056A7" } ], "operator": "OR" } ] } ]