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.
References
Link | Resource |
---|---|
https://bugs.php.net/bug.php?id=81708 | Exploit Issue Tracking Patch Vendor Advisory |
https://security.netapp.com/advisory/ntap-20220325-0004/ | Third Party Advisory |
https://security.gentoo.org/glsa/202209-20 | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Information
Published : 2022-02-27 00:15
Updated : 2022-10-07 07:31
NVD link : CVE-2021-21708
Mitre link : CVE-2021-21708
JSON object : View
CWE
CWE-416
Use After Free
Products Affected
php
- php