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 Software | Affected Version | How 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 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
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.
CVE-2021-21708 is considered a moderate severity vulnerability.
Versions of PHP up to and excluding 7.4.28 are affected by 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.
More information about CVE-2021-21708 can be found in the PHP changelog at https://www.php.net/ChangeLog-7.php#7.4.28.