First published: Thu Mar 11 2021(Updated: )
The unserialize() function supported a type code, "S", which was meant to be supported only for APC serialization. This type code allowed arbitrary memory addresses to be accessed as if they were static StringData objects. This issue affected HHVM prior to v4.32.3, between versions 4.33.0 and 4.56.0, 4.57.0, 4.58.0, 4.58.1, 4.59.0, 4.60.0, 4.61.0, 4.62.0.
Credit: cve-assign@fb.com
Affected Software | Affected Version | How to fix |
---|---|---|
Facebook HHVM | <4.32.3 | |
Facebook HHVM | >=4.33.0<4.56.1 | |
Facebook HHVM | =4.57.0 | |
Facebook HHVM | =4.58.0 | |
Facebook HHVM | =4.58.1 | |
Facebook HHVM | =4.59.0 | |
Facebook HHVM | =4.60.0 | |
Facebook HHVM | =4.61.0 | |
Facebook HHVM | =4.62.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2020-1899 is a vulnerability in HHVM that allowed arbitrary memory addresses to be accessed as if they were static StringData objects.
CVE-2020-1899 affects HHVM versions prior to v4.32.3, between versions 4.33.0 and 4.56.0.
CVE-2020-1899 has a severity rating of 7.5 (High).
To fix CVE-2020-1899, you should update HHVM to version 4.56.1 or later.
You can find more information about CVE-2020-1899 at the following references: [link1](https://github.com/facebook/hhvm/commit/1107228a5128d3ca1c4add8ac1635d933cbbe2e9) and [link2](https://hhvm.com/blog/2020/06/30/security-update.html).