UBUNTU-CVE-2021-21708

    Dashboard / Vulnerabilities / UBUNTU-CVE-2021-21708

    UBUNTU-CVE-2021-21708

    Published: 31 Dec 2021Last Modified: 22 Apr 2026
    Upstream:
    Aliases:

    Summary:

    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 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.

    Affected packages

    Package

    Name: php7.4

    Purl: pkg:deb/ubuntu/[email protected]?arch=source&distro=focal

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -7.4.3-4ubuntu2.9

    Affected versions

    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

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    UBUNTU-CVE-2021-21708 | CVE-DB