logo
DATABASE RESOURCES PRICING ABOUT US

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 Package


OS OS Version Package Name Package Version
Debian 10 php7.3 7.3.31-1~deb10u1
Debian 11 php7.4 7.4.30-1+deb11u1
Debian 12 php8.1 8.1.12-1
Debian 999 php8.1 8.1.12-1

Related