CVE-2021-21708
CRITICAL 9.8EPSS 3.0%
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.
- CVSS v3.1
- 9.8 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS v3.1
- 8.2 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L - CVSS v2.0
- 6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P - EPSS
- 3.00% chance of exploitation in the next 30 days, 86th percentile
- Published
- 2022-02-27
- Updated
- 2024-09-17
Proof-of-concept exploits (3)
- https://bugs.php.net/bug.php?id=81708
- Sergio-F20/GPT-FastPentest2★ · 2023-04-15
- s3rg0x/GPT-FastPentest2★ · 2023-04-15