Rapid7 Vulnerability & Exploit Database

Ubuntu: USN-5303-1 (CVE-2021-21708): PHP vulnerability

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Ubuntu: USN-5303-1 (CVE-2021-21708): PHP vulnerability

Severity
7
CVSS
(AV:N/AC:M/Au:N/C:P/I:P/A:P)
Published
02/27/2022
Created
03/29/2023
Added
03/22/2023
Modified
03/22/2023

Description

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.

Solution(s)

  • ubuntu-upgrade-php7-4-cgi
  • ubuntu-upgrade-php7-4-cli
  • ubuntu-upgrade-php7-4-fpm
  • ubuntu-upgrade-php8-0-cgi
  • ubuntu-upgrade-php8-0-cli
  • ubuntu-upgrade-php8-0-fpm

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;