CWE
416
Advisory Published
Updated

CVE-2020-1900: Use After Free

First published: Thu Mar 11 2021(Updated: )

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.

Credit: cve-assign@fb.com

Affected SoftwareAffected VersionHow to fix
Facebook HHVM<4.32.3
Facebook HHVM>=4.33.0<4.56.1
Facebook HHVM=4.57.0
Facebook HHVM=4.58.0
Facebook HHVM=4.58.1
Facebook HHVM=4.59.0
Facebook HHVM=4.60.0
Facebook HHVM=4.61.0
Facebook HHVM=4.62.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2020-1900?

    CVE-2020-1900 is a vulnerability in Facebook HHVM that allows an attacker to resize the dynamic property array, potentially invalidating previously stored references.

  • How does CVE-2020-1900 impact HHVM?

    CVE-2020-1900 affects HHVM versions prior to v4.32.3, and from v4.33.0 to v4.56.1. It does not affect HHVM versions v4.57.0 and above.

  • What is the severity of CVE-2020-1900?

    CVE-2020-1900 has a severity rating of 9.8, which is considered critical.

  • How can I fix CVE-2020-1900?

    To fix CVE-2020-1900, update your HHVM installation to version v4.32.3 or higher if you are using a vulnerable version.

  • Where can I find more information about CVE-2020-1900?

    More information about CVE-2020-1900 can be found in the official security update blog post by HHVM (https://hhvm.com/blog/2020/06/30/security-update.html) and in the GitHub commit (https://github.com/facebook/hhvm/commit/c1c4bb0cf9e076aafaf4ff3515556ef9faf906f3).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203