Skip to content
pkgseek
Back to CVE search

CVE-2021-21708

critical · 9.8

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.

First indexed 2/17/2022View on NVD

Advisory Facts

Markdown

CVE-2021-21708 is rated CRITICAL (9.8), with 136 indexed affected package builds across 4 distributions.

Severity / Score
CRITICAL (9.8)
Affected builds
136
Affected distros
4
Distros with fixed_in
Alibaba Cloud Linux, Oracle Linux, Red Hat Enterprise Linux, Ubuntu
+ Embed this vulnerability status card

https://pkgseek.com/embed/security/CVE-2021-21708?locale=en

Distribution-aware status

4
Distributions
136
Package/release records
7
Vendor advisories
136
Fix versions available

Why the upstream version is not enough

Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.

Affected packages

Newest affected build per package, repository source and distribution release.

136 affected package/release combinations
php
3x86_64
7.4.19-4.0.1.al8Fixed in 7.4.30-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php
php-bcmath
3x86_64
7.4.19-4.0.1.al8Fixed in 7.4.30-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-bcmath
php-cli
3x86_64
7.4.19-4.0.1.al8Fixed in 7.4.30-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-cli
php-common
3x86_64
7.4.19-4.0.1.al8Fixed in 7.4.30-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-common
php-dba
3x86_64
7.4.19-4.0.1.al8Fixed in 7.4.30-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-dba
php-dbg
3x86_64
7.4.19-4.0.1.al8Fixed in 7.4.30-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-dbg
php-devel
3x86_64
7.4.19-4.0.1.al8Fixed in 7.4.30-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-devel
php-embedded
3x86_64
7.4.19-4.0.1.al8Fixed in 7.4.30-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-embedded
php-enchant
3x86_64
7.4.19-4.0.1.al8Fixed in 7.4.30-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-enchant
php-ffi
3x86_64
7.4.19-4.0.1.al8Fixed in 7.4.30-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-ffi
php-fpm
3x86_64
7.4.19-4.0.1.al8Fixed in 7.4.30-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-fpm
php-gd
3x86_64
7.4.19-4.0.1.al8Fixed in 7.4.30-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-gd
php-gmp
3x86_64
7.4.19-4.0.1.al8Fixed in 7.4.30-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-gmp
php-intl
3x86_64
7.4.19-4.0.1.al8Fixed in 7.4.30-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-intl
php-json
3x86_64
7.4.19-4.0.1.al8Fixed in 7.4.30-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-json
php-ldap
3x86_64
7.4.19-4.0.1.al8Fixed in 7.4.30-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-ldap
php-mbstring
3x86_64
7.4.19-4.0.1.al8Fixed in 7.4.30-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-mbstring
php-mysqlnd
3x86_64
7.4.19-4.0.1.al8Fixed in 7.4.30-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-mysqlnd
php-odbc
3x86_64
7.4.19-4.0.1.al8Fixed in 7.4.30-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-odbc
php-opcache
3x86_64
7.4.19-4.0.1.al8Fixed in 7.4.30-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-opcache
php-pdo
3x86_64
7.4.19-4.0.1.al8Fixed in 7.4.30-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-pdo
php-pgsql
3x86_64
7.4.19-4.0.1.al8Fixed in 7.4.30-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-pgsql
php-process
3x86_64
7.4.19-4.0.1.al8Fixed in 7.4.30-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-process
php-snmp
3x86_64
7.4.19-4.0.1.al8Fixed in 7.4.30-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-snmp
php-soap
3x86_64
7.4.19-4.0.1.al8Fixed in 7.4.30-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-soap
php-xml
3x86_64
7.4.19-4.0.1.al8Fixed in 7.4.30-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-xml
php-xmlrpc
3x86_64
7.4.19-4.0.1.al8Fixed in 7.4.30-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-xmlrpc
php-pecl-xdebug
8x86_64
2.8.0-1.module+el8.2.0+5569+98c8b30dFixed in 2.9.5-1.module+el8.3.0+7685+72d70b58
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-pecl-xdebug
php
9x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php
php-bcmath
9x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-bcmath
php-cli
9x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-cli
php-common
9x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-common
php-dba
9x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-dba
php-dbg
9x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-dbg
php-devel
9x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-devel
php-embedded
9x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-embedded
php-enchant
9x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-enchant
php-ffi
9x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-ffi
php-fpm
9x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-fpm
php-gd
9x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-gd
php-gmp
9x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-gmp
php-intl
9x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-intl
php-ldap
9x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-ldap
php-mbstring
9x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-mbstring
php-mysqlnd
9x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-mysqlnd
php-odbc
9x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-odbc
php-opcache
9x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-opcache
php-pdo
9x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-pdo
php-pgsql
9x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-pgsql
php-process
9x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-process
php-snmp
9x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-snmp
php-soap
9x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-soap
php-xml
9x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-xml
php
9.8x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php
php-bcmath
9.8x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-bcmath
php-cli
9.8x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-cli
php-common
9.8x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-common
php-dba
9.8x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-dba
php-dbg
9.8x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-dbg
php-devel
9.8x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-devel
php-embedded
9.8x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-embedded
php-enchant
9.8x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-enchant
php-ffi
9.8x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-ffi
php-fpm
9.8x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-fpm
php-gd
9.8x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-gd
php-gmp
9.8x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-gmp
php-intl
9.8x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-intl
php-ldap
9.8x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-ldap
php-mbstring
9.8x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-mbstring
php-mysqlnd
9.8x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-mysqlnd
php-odbc
9.8x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-odbc
php-opcache
9.8x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-opcache
php-pdo
9.8x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-pdo
php-pgsql
9.8x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-pgsql
php-process
9.8x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-process
php-snmp
9.8x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-snmp
php-soap
9.8x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-soap
php-xml
9.8x86_64
8.0.13-2.el9_0Fixed in 8.0.20-3.el9
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade php-xml

CNNVD cross-reference

Cached Chinese vulnerability records provide local-language classification and aliases. They do not override distribution package or backport status.