CVE-2021-21708

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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
8.2 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
phpCNA
8.2 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 51%
VendorProductVersion
phpphp
7.4.0 ≤
𝑥
< 7.4.28
phpphp
8.0.0 ≤
𝑥
< 8.0.16
phpphp
8.1.0 ≤
𝑥
< 8.1.3
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
php7.4
bullseye
7.4.33-1+deb11u5
fixed
bullseye (security)
7.4.33-1+deb11u6
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
php5
jammy
dne
impish
dne
focal
dne
bionic
dne
xenial
dne
trusty
not-affected
php7.0
jammy
dne
impish
dne
focal
dne
bionic
dne
xenial
not-affected
trusty
dne
php7.2
jammy
dne
impish
dne
focal
dne
bionic
not-affected
xenial
dne
trusty
dne
php7.4
jammy
dne
impish
dne
focal
Fixed 7.4.3-4ubuntu2.9
released
bionic
dne
xenial
dne
trusty
dne
php8.0
jammy
dne
impish
Fixed 8.0.8-1ubuntu0.2
released
focal
dne
bionic
dne
xenial
dne
trusty
dne
php8.1
jammy
Fixed 8.1.2-1ubuntu1
released
impish
dne
focal
dne
bionic
dne
xenial
dne
trusty
dne