Paper/Archive/CVE-2020-1900

CVE-2020-1900

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

Description · from the CVE record

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

ProductAffectedFixed inSource
HHVM4.62.04.62.1CNA
HHVM4.61.04.62.1CNA
HHVM4.60.04.62.1CNA
HHVM4.59.04.62.1CNA
HHVM4.58.0 – < unspecifiedunspecifiedCNA
HHVM4.57.04.62.1CNA
HHVM4.33.0 – < unspecifiedunspecifiedCNA
HHVMunspecified – < 4.32.34.32.3CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References

refhhvm.com/blog/2020/06/30/security-update.htmlrefgithub.com/facebook/hhvm/commit/c1c4bb0cf9e076aafaf4ff3515556ef9faf906f3