CWE
190 122
Advisory Published
Updated

CVE-2021-24025: Integer Overflow

First published: Wed Mar 10 2021(Updated: )

Due to incorrect string size calculations inside the preg_quote function, a large input string passed to the function can trigger an integer overflow leading to a heap overflow. This issue affects HHVM versions prior to 4.56.3, all versions between 4.57.0 and 4.80.1, all versions between 4.81.0 and 4.93.1, and versions 4.94.0, 4.95.0, 4.96.0, 4.97.0, 4.98.0.

Credit: cve-assign@fb.com

Affected SoftwareAffected VersionHow to fix
Facebook HHVM<4.56.3
Facebook HHVM>=4.57.0<=4.80.1
Facebook HHVM>=4.81.0<=4.93.1
Facebook HHVM=4.94.0
Facebook HHVM=4.95.0
Facebook HHVM=4.96.0
Facebook HHVM=4.97.0
Facebook HHVM=4.98.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 the vulnerability ID for this issue?

    The vulnerability ID for this issue is CVE-2021-24025.

  • What is the severity of CVE-2021-24025?

    CVE-2021-24025 has a severity rating of critical.

  • Which software versions are affected by CVE-2021-24025?

    CVE-2021-24025 affects HHVM versions prior to 4.56.3, all versions between 4.57.0 and 4.80.1, and all versions between 4.81.0 and 4.93.1.

  • How can CVE-2021-24025 be exploited?

    CVE-2021-24025 can be exploited by passing a large input string to the preg_quote function, triggering an integer overflow and leading to a heap overflow.

  • Is there a fix available for CVE-2021-24025?

    Yes, the fix for CVE-2021-24025 is included in HHVM version 4.56.3 and later.

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