Unrated severityNVD Advisory· Published Feb 27, 2022· Updated Sep 17, 2024
UAF due to php_filter_float() failing
CVE-2021-21708
Description
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.
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- security.gentoo.org/glsa/202209-20mitrevendor-advisoryx_refsource_GENTOO
- bugs.php.net/bug.phpmitrex_refsource_MISC
- security.netapp.com/advisory/ntap-20220325-0004/mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.