CVE-2020-1900

Severity CVSS v4.0:
Pending analysis
Type:
CWE-416 Use After Free
Publication date:
11/03/2021
Last modified:
18/03/2021

Description

When unserializing an object with dynamic properties HHVM needs to pre-reserve the full size of the dynamic property array before inserting anything into it. Otherwise the array might resize, invalidating previously stored references. This pre-reservation was not occurring in 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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:* 4.32.3 (excluding)
cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:* 4.33.0 (including) 4.56.1 (excluding)
cpe:2.3:a:facebook:hhvm:4.57.0:*:*:*:*:*:*:*
cpe:2.3:a:facebook:hhvm:4.58.0:*:*:*:*:*:*:*
cpe:2.3:a:facebook:hhvm:4.58.1:*:*:*:*:*:*:*
cpe:2.3:a:facebook:hhvm:4.59.0:*:*:*:*:*:*:*
cpe:2.3:a:facebook:hhvm:4.60.0:*:*:*:*:*:*:*
cpe:2.3:a:facebook:hhvm:4.61.0:*:*:*:*:*:*:*
cpe:2.3:a:facebook:hhvm:4.62.0:*:*:*:*:*:*:*