Your submission was sent successfully! Close

CVE-2021-21708

Published: 31 December 2021

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.

Priority

Medium

CVSS 3 base score: 9.8

Status

Package Release Status
php5
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

impish Does not exist

jammy Does not exist

trusty Not vulnerable
(code not present)
upstream Not vulnerable
(code not present)
xenial Does not exist

php7.0
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream Not vulnerable
(code not present)
xenial Not vulnerable
(code not present)
php7.2
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(code not present)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream Not vulnerable
(code not present)
xenial Does not exist

php7.4
Launchpad, Ubuntu, Debian
bionic Does not exist

focal
Released (7.4.3-4ubuntu2.9)
impish Does not exist

jammy Does not exist

trusty Does not exist

upstream
Released (7.4.28)
xenial Does not exist

php8.0
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

impish
Released (8.0.8-1ubuntu0.2)
jammy Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist

php8.1
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

impish Does not exist

jammy
Released (8.1.2-1ubuntu1)
trusty Does not exist

upstream
Released (8.1.3)
xenial Does not exist