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.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HFacebook Hhvm
APPFacebook4.57.04.58.04.58.14.59.04.60.04.61.04.62.04.33.0 – 4.56.1 (excl.)< 4.32.3
🟢
PATCH AVAILABLE
Vendor update available. Deploy in standard maintenance cycle.
Tags
Memory
Related vulnerabilities
CVE-2022-36937CRITICAL9.8PL ✓same product
HHVM: użycie przestarzałego protokołu TLS 1.0 zamiast TLS 1.3
CVE-2021-24036CRITICAL9.8PL ✓same product
RCE poprzez integer overflow w IOBuf w Facebook Folly i HHVM
CVE-2020-1917CRITICAL9.8PL ✓same product
Out-of-bounds write w HHVM podczas przetwarzania danych EXIF
CVE-2020-1916CRITICAL9.8PL ✓same product
Integer overflow i out-of-bounds write w funkcji ldap_escape HHVM
CVE-2021-24025CRITICAL9.8PL ✓same product
Integer overflow w preg_quote HHVM prowadzący do heap overflow (RCE)