Skip to content
OpenAdvisories
Unscored CVE-2020-1900 EUVD-2020-12726GHSA-g7r3-m2h7-28vw

When unserializing an object with dynamic properties HHVM needs to pre-reserve the full size of the dynamic property array before inserting…

Published Mar 11, 2021 · Updated Aug 4, 2024 · Assigned by facebook

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.

Affected products

VendorProductAffectedFixed
Facebook HHVM 4.62.0, 4.61.0, 4.60.0, 4.59.0, 4.58.0 – < unspecified, 4.57.0, 4.33.0 – < unspecified, unspecified – < 4.32.3 unspecified

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS hhvm No fix yet —
Ubuntu 16.04 LTS hhvm No fix yet —

References