Not rated
CVE-2019-3570 Call to the scrypt_enc() function in HHVM can lead to heap corruption by using specifically crafted parameters (N, r and…
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.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| HHVM 4.8 | 4.8.0 → 4.8.1 | No fix stated |
| HHVM 4.7 | 4.7.0 → 4.7.1 | No fix stated |
| HHVM 4.6 | 4.6.0 → 4.6.1 | No fix stated |
| HHVM 4.5 | 4.5.0 → 4.5.1 | No fix stated |
| HHVM 4.4 | 4.4.0 → 4.4.1 | No fix stated |
| HHVM | 4.3.1 | No fix stated |
| HHVM 4.0 | 4.0.0 → latest | No fix stated |
| HHVM 3.30 | earliest → 3.30.6 | No fix stated |
Other CVEs of HHVM
The 31 CVEs of HHVM →
CVE-2022-36937
HHVM 4.172.0 and all prior versions use TLS 1.0 for secure connections when handling tls:// URLs in the stream extension
9.8
Critical
CVE-2019-3556
HHVM supports the use of an "admin" server which accepts administrative requests over HTTP
Not rated
CVE-2021-24036
Passing an attacker controlled size when creating an IOBuf could cause integer overflow, leading to an out of bounds…
Not rated
CVE-2020-1900
When unserializing an object with dynamic properties HHVM needs to pre-reserve the full size of the dynamic property…
Not rated