p PatchFirst

CVE-2021-21708

CVE-2021-21708 · UAF due to php_filter_float() failing

Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.

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 8.2 · Alta · EPSS 3,0% · Corrección disponible

Publicación
Actualización

Pila tecnológica: system · php

Productos y versiones afectados

  • php

    Versiones
    • ≥ 7.4.x, < 7.4.28: Afectada (custom)
    • ≥ 8.0.X, < 8.0.16: Afectada (custom)
    • ≥ 8.1.X, < 8.1.3: Afectada (custom)

    Actualiza a 7.4.28; Actualiza a 8.0.16; Actualiza a 8.1.3

  • php7.4 Debian:11

    Versiones
    • 7.4.21-1+deb11u1
    • 7.4.25-1+deb11u1
    • 7.4.26-1
    Intervalos de versiones afectados
    • ECOSYSTEM: < 7.4.28-1+deb11u1

    Actualiza a 7.4.28-1+deb11u1

  • php7.4 Ubuntu:20.04:LTS

    Versiones
    • 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
    Intervalos de versiones afectados
    • ECOSYSTEM: < 7.4.3-4ubuntu2.9

    Actualiza a 7.4.3-4ubuntu2.9

  • php8.1 Ubuntu:22.04:LTS

    Versiones
    • 8.1.0~rc4-1ubuntu2
    • 8.1.0-1
    Intervalos de versiones afectados
    • ECOSYSTEM: < 8.1.2-1ubuntu1

    Actualiza a 8.1.2-1ubuntu1

Fuentes originales

Comprueba tu servidor →