CVE-2021-21708


UAF due to php_filter_float() failing

In PHP versions 7.4.x below 7.4.28, 8.0.x below 8.0.16, and 8.1.x below 8.1.3, when using filter functions with FILTER_VALIDATE_FLOAT filter and min/max limits, if the filter fails, there is a possibility to trigger use of allocated memory after free, which can result it crashes, and potentially in overwrite of other memory chunks and RCE. This issue affects: code that uses FILTER_VALIDATE_FLOAT with min/max limits.



We have discovered 854,793 live websites that are affected by CVE-2021-21708.

Contact us to get more info




Affected Software

Product  PHP
Category Programming Languages
Vulnerable Versions
  • from 7.4 before 7.4.28
  • from 8 before 8.0.16
  • from 8.1 before 8.1.3
Total Vulnerable Versions507
Vulnerable Domains854,793 live websites (7.07% of PHP install base)


Common Weakness Enumeration


CWE-416 Use After Free


Distribution by Website Rank

The diagram provides a graphic representation of the correlation between the occurrence of CVE-2021-21708 and the relative popularity of websites


Details

  • Published - Feb 14, 2022
  • Updated - Sep 29, 2022

Credits

  • dukk at softdev dot online





Countries

United States339,644 websites



France211,132 websites
Germany23,208 websites
GB20,183 websites
Canada20,015 websites
Russia16,370 websites
Argentina16,000 websites
Poland15,709 websites
Brazil15,441 websites
Italy14,927 websites

TLDs

.com436,392 websites
.fr94,096 websites
.org52,516 websites
.net26,068 websites
.de13,712 websites
.ru12,989 websites
.com.br12,470 websites
.pl12,220 websites
.be11,856 websites
.ca11,767 websites

Vulnerable Versions

Vulnerable versions are highlighted in red


Geographical Distribution

The distribution of websites across the globe that are exposed to CVE-2021-21708 through included software libraries and plugins.



References


Websites affected by CVE-2021-21708

Top websites that are affected by CVE-2021-21708. Please click on the "Contact us" button above to get more information.
DomainCountryRankContacts
***.*****.pl Poland*,***
*******.com Germany*,***
****.org GB*,***
***************.org United States*,***
**********.org United States*,***
******.org United States*,***
***.**********.org United States*,***
******.com France*,***
**********.com France*,***
********.org United States*,***
See full domain list