CVE-2019-3570
Summary
| CVE | CVE-2019-3570 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2019-07-18 16:15:00 UTC |
| Updated | 2020-10-16 15:14:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-787
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Hiphop Virtual Machine | 4.1.0 | All | All | All | |
| Application | Hiphop Virtual Machine | 4.2.0 | All | All | All | |
| Application | Hiphop Virtual Machine | 4.3.0 | All | All | All | |
| Application | Hiphop Virtual Machine | 4.4.0 | All | All | All | |
| Application | Hiphop Virtual Machine | 4.5.0 | All | All | All | |
| Application | Hiphop Virtual Machine | 4.6.0 | All | All | All | |
| Application | Hiphop Virtual Machine | 4.7.0 | All | All | All | |
| Application | Hiphop Virtual Machine | 4.8.0 | All | All | All | |
| Application | Hiphop Virtual Machine | 4.1.0 | All | All | All | |
| Application | Hiphop Virtual Machine | 4.2.0 | All | All | All | |
| Application | Hiphop Virtual Machine | 4.3.0 | All | All | All | |
| Application | Hiphop Virtual Machine | 4.4.0 | All | All | All | |
| Application | Hiphop Virtual Machine | 4.5.0 | All | All | All | |
| Application | Hiphop Virtual Machine | 4.6.0 | All | All | All | |
| Application | Hiphop Virtual Machine | 4.7.0 | All | All | All | |
| Application | Hiphop Virtual Machine | 4.8.0 | All | All | All | |
| Application | Hiphop Virtual Machine | All | All | All | All | |
| Application | Hiphop Virtual Machine | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| HHVM 4.9.0, and security updates for 3.30, and 4.3-4.7 | HHVM | CONFIRM | hhvm.com | Release Notes, Vendor Advisory |
| Replace copied scrypt implementation with call to libsodium · facebook/hhvm@cc331e4 · GitHub | CONFIRM | github.com | Patch, Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.