UBUNTU-CVE-2021-21708

See a problem?
Source
https://ubuntu.com/security/notices/UBUNTU-CVE-2021-21708
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-21708.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-21708
Related
Published
2021-12-31T00:00:00Z
Modified
2021-12-31T00:00:00Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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 FILTERVALIDATEFLOAT 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 FILTERVALIDATEFLOAT with min/max limits.

References

Affected packages

Ubuntu:20.04:LTS / php7.4

Package

Name
php7.4
Purl
pkg:deb/ubuntu/php7.4@7.4.3-4ubuntu2.9?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.4.3-4ubuntu2.9

Affected versions

7.*

7.4.3-4build1
7.4.3-4build2
7.4.3-4ubuntu1
7.4.3-4ubuntu1.1
7.4.3-4ubuntu2.2
7.4.3-4ubuntu2.4
7.4.3-4ubuntu2.5
7.4.3-4ubuntu2.6
7.4.3-4ubuntu2.7
7.4.3-4ubuntu2.8

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "php7.4-bcmath-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-intl": "7.4.3-4ubuntu2.9",
            "php7.4-mysql": "7.4.3-4ubuntu2.9",
            "php7.4-gd": "7.4.3-4ubuntu2.9",
            "php7.4-bz2": "7.4.3-4ubuntu2.9",
            "php7.4-gmp": "7.4.3-4ubuntu2.9",
            "libphp7.4-embed-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-tidy": "7.4.3-4ubuntu2.9",
            "php7.4-dev": "7.4.3-4ubuntu2.9",
            "php7.4-snmp": "7.4.3-4ubuntu2.9",
            "php7.4-phpdbg": "7.4.3-4ubuntu2.9",
            "php7.4-imap": "7.4.3-4ubuntu2.9",
            "php7.4-mbstring": "7.4.3-4ubuntu2.9",
            "php7.4": "7.4.3-4ubuntu2.9",
            "php7.4-common-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-bcmath": "7.4.3-4ubuntu2.9",
            "php7.4-pgsql-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-pspell": "7.4.3-4ubuntu2.9",
            "php7.4-json": "7.4.3-4ubuntu2.9",
            "php7.4-xml": "7.4.3-4ubuntu2.9",
            "php7.4-readline-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-snmp-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-opcache": "7.4.3-4ubuntu2.9",
            "php7.4-imap-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-ldap": "7.4.3-4ubuntu2.9",
            "php7.4-zip": "7.4.3-4ubuntu2.9",
            "php7.4-xmlrpc-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-gd-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-cli": "7.4.3-4ubuntu2.9",
            "php7.4-tidy-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-curl-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-xmlrpc": "7.4.3-4ubuntu2.9",
            "php7.4-sqlite3-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-fpm-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-common": "7.4.3-4ubuntu2.9",
            "php7.4-soap": "7.4.3-4ubuntu2.9",
            "php7.4-cgi": "7.4.3-4ubuntu2.9",
            "php7.4-odbc-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-opcache-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-interbase": "7.4.3-4ubuntu2.9",
            "php7.4-sqlite3": "7.4.3-4ubuntu2.9",
            "php7.4-readline": "7.4.3-4ubuntu2.9",
            "php7.4-cli-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-cgi-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-dba": "7.4.3-4ubuntu2.9",
            "libapache2-mod-php7.4-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-intl-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-curl": "7.4.3-4ubuntu2.9",
            "php7.4-xsl": "7.4.3-4ubuntu2.9",
            "php7.4-zip-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-dba-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-mbstring-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-json-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-phpdbg-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-sybase-dbgsym": "7.4.3-4ubuntu2.9",
            "libphp7.4-embed": "7.4.3-4ubuntu2.9",
            "php7.4-soap-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-pgsql": "7.4.3-4ubuntu2.9",
            "php7.4-enchant-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-odbc": "7.4.3-4ubuntu2.9",
            "php7.4-pspell-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-interbase-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-bz2-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-enchant": "7.4.3-4ubuntu2.9",
            "php7.4-ldap-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-xml-dbgsym": "7.4.3-4ubuntu2.9",
            "php7.4-sybase": "7.4.3-4ubuntu2.9",
            "php7.4-fpm": "7.4.3-4ubuntu2.9",
            "php7.4-gmp-dbgsym": "7.4.3-4ubuntu2.9",
            "libapache2-mod-php7.4": "7.4.3-4ubuntu2.9",
            "php7.4-mysql-dbgsym": "7.4.3-4ubuntu2.9"
        }
    ]
}

Ubuntu:22.04:LTS / php8.1

Package

Name
php8.1
Purl
pkg:deb/ubuntu/php8.1@8.1.2-1ubuntu1?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.1.2-1ubuntu1

Affected versions

8.*

8.1.0~rc4-1ubuntu2
8.1.0-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "php8.1-pgsql": "8.1.2-1ubuntu1",
            "php8.1": "8.1.2-1ubuntu1",
            "php8.1-soap-dbgsym": "8.1.2-1ubuntu1",
            "libapache2-mod-php8.1": "8.1.2-1ubuntu1",
            "php8.1-fpm-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-zip-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-xml": "8.1.2-1ubuntu1",
            "libphp8.1-embed": "8.1.2-1ubuntu1",
            "php8.1-intl-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-curl-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-pspell-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-tidy-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-enchant-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-imap-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-cgi-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-mysql": "8.1.2-1ubuntu1",
            "php8.1-odbc-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-bz2": "8.1.2-1ubuntu1",
            "php8.1-interbase": "8.1.2-1ubuntu1",
            "php8.1-readline": "8.1.2-1ubuntu1",
            "php8.1-odbc": "8.1.2-1ubuntu1",
            "php8.1-phpdbg": "8.1.2-1ubuntu1",
            "php8.1-gd-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-sybase-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-opcache": "8.1.2-1ubuntu1",
            "php8.1-intl": "8.1.2-1ubuntu1",
            "php8.1-mbstring": "8.1.2-1ubuntu1",
            "php8.1-common-dbgsym": "8.1.2-1ubuntu1",
            "libapache2-mod-php8.1-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-xml-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-bcmath": "8.1.2-1ubuntu1",
            "php8.1-cgi": "8.1.2-1ubuntu1",
            "php8.1-pgsql-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-bcmath-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-readline-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-common": "8.1.2-1ubuntu1",
            "php8.1-sqlite3-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-tidy": "8.1.2-1ubuntu1",
            "php8.1-snmp-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-dev": "8.1.2-1ubuntu1",
            "php8.1-dba-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-snmp": "8.1.2-1ubuntu1",
            "php8.1-opcache-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-ldap": "8.1.2-1ubuntu1",
            "php8.1-bz2-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-curl": "8.1.2-1ubuntu1",
            "php8.1-gmp": "8.1.2-1ubuntu1",
            "php8.1-sybase": "8.1.2-1ubuntu1",
            "php8.1-cli": "8.1.2-1ubuntu1",
            "php8.1-fpm": "8.1.2-1ubuntu1",
            "php8.1-xsl": "8.1.2-1ubuntu1",
            "php8.1-cli-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-gd": "8.1.2-1ubuntu1",
            "php8.1-enchant": "8.1.2-1ubuntu1",
            "php8.1-ldap-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-dba": "8.1.2-1ubuntu1",
            "php8.1-zip": "8.1.2-1ubuntu1",
            "php8.1-imap": "8.1.2-1ubuntu1",
            "php8.1-interbase-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-mysql-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-gmp-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-phpdbg-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-sqlite3": "8.1.2-1ubuntu1",
            "libphp8.1-embed-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-pspell": "8.1.2-1ubuntu1",
            "php8.1-mbstring-dbgsym": "8.1.2-1ubuntu1",
            "php8.1-soap": "8.1.2-1ubuntu1"
        }
    ]
}