{"id":"CVE-2020-1900","published":"2021-03-11T00:55:20Z","modified":"2024-08-04T06:54:00Z","title":"When unserializing an object with dynamic properties HHVM needs to pre-reserve the full size of the dynamic property…","vendor":"Meta","product":"HHVM","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01384,"percentile":0.72786,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://hhvm.com/blog/2020/06/30/security-update.html","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/facebook/hhvm/commit/c1c4bb0cf9e076aafaf4ff3515556ef9faf906f3","tags":["x_refsource_MISC"]}],"priority":{"score":14.6,"factors":[{"name":"EPSS percentile","points":14.56}]},"vendorSlug":"meta","affectedVersions":[{"vendor":"Facebook","product":"HHVM","versions":["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"]}],"euvd":{"id":"EUVD-2020-12726","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-meta-hhvm-cve-2020-1899","parents":[{"from":"CVE-2020-1899","to":"CVE-2020-1900","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["hphp/runtime/base/variable-unserializer.cpp"],"commits":["https://github.com/facebook/hhvm/commit/1107228a5128d3ca1c4add8ac1635d933cbbe2e9","https://github.com/facebook/hhvm/commit/c1c4bb0cf9e076aafaf4ff3515556ef9faf906f3"],"basis":"rarely changed file"}]}]}}