CVE-2021-21708
UAF due to php_filter_float() failingIn 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 Versions | 507 |
Vulnerable Domains | 854,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