vulnerability

Ubuntu: USN-5125-1 (CVE-2021-21703): PHP vulnerability

Severity
7
CVSS
(AV:L/AC:M/Au:N/C:C/I:C/A:C)
Published
Oct 25, 2021
Added
Oct 28, 2021
Modified
Apr 16, 2026

Description

In PHP versions 7.3.x up to and including 7.3.31, 7.4.x below 7.4.25 and 8.0.x below 8.0.12, when running PHP FPM SAPI with main FPM daemon process running as root and child worker processes running as lower-privileged users, it is possible for the child processes to access memory shared with the main process and write to it, modifying it in a way that would cause the root process to conduct invalid memory reads and writes, which can be used to escalate privileges from local unprivileged user to the root user.

Solutions

ubuntu-pro-upgrade-php5-fpmubuntu-pro-upgrade-php7-0-fpmubuntu-upgrade-php7-2-fpmubuntu-upgrade-php7-4-fpmubuntu-upgrade-php8-0-fpm
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.