CWE
416
Advisory Published
Updated

CVE-2021-21708: UAF due to php_filter_float() failing

First published: Mon Feb 14 2022(Updated: )

Fix #81708: UAF due to php_filter_float() failing for ints. (CVE-2021-21708)

Credit: security@php.net

Affected SoftwareAffected VersionHow to fix
<8.1.3
8.1.3
PHP PHP>=7.4.0<7.4.28
PHP PHP>=8.0.0<8.0.16
PHP PHP>=8.1.0<8.1.3
debian/php7.3
7.3.31-1~deb10u1
7.3.31-1~deb10u5
debian/php7.4
7.4.33-1+deb11u4

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-2021-21708?

    CVE-2021-21708 is a vulnerability in PHP that allows for a use-after-free (UAF) issue due to php_filter_float() failing for ints.

  • How severe is CVE-2021-21708?

    CVE-2021-21708 is considered a moderate severity vulnerability.

  • Which version of PHP is affected by CVE-2021-21708?

    Versions of PHP up to and excluding 7.4.28 are affected by CVE-2021-21708.

  • How can I fix CVE-2021-21708?

    To fix CVE-2021-21708, upgrade to PHP version 7.4.28 or apply the necessary patches as provided by the PHP project.

  • Where can I find more information about CVE-2021-21708?

    More information about CVE-2021-21708 can be found in the PHP changelog at https://www.php.net/ChangeLog-7.php#7.4.28.

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