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.gentoo.org/glsa/202209-20 | Third Party Advisory |
https://security.netapp.com/advisory/ntap-20220325-0004/ | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
History
07 Oct 2022, 14:31
Type | Values Removed | Values Added |
---|---|---|
References |
|
18 Apr 2022, 18:36
Type | Values Removed | Values Added |
---|---|---|
References | (CONFIRM) https://security.netapp.com/advisory/ntap-20220325-0004/ - Third Party Advisory |
25 Mar 2022, 08:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
07 Mar 2022, 23:00
Type | Values Removed | Values Added |
---|---|---|
CWE | CWE-416 | |
CPE | cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | |
References | (CONFIRM) https://bugs.php.net/bug.php?id=81708 - Exploit, Issue Tracking, Patch, Vendor Advisory | |
CVSS |
v2 : v3 : |
v2 : 6.8
v3 : 9.8 |
27 Feb 2022, 09:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2022-02-27 08:15
Updated : 2024-02-04 22:29
NVD link : CVE-2021-21708
Mitre link : CVE-2021-21708
CVE.ORG link : CVE-2021-21708
JSON object : View
Products Affected
php
- php
CWE
CWE-416
Use After Free