Severity
7.0HIGH
EPSS
0.1%
top 67.17%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedOct 25
Latest updateMay 2

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

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:HExploitability: 1.1 | Impact: 6.0

Affected Packages4 packages

NVDphp/php7.4.07.4.25+2
CVEListV5php_group/php7.4.x7.4.25+2
Debianphp7.4< 7.4.25-1+deb11u1

Also affects: Debian Linux 10.0, 11.0, 9.0, Fedora 33, 34, 35

Patches

🔴Vulnerability Details

8
OSV
linux-xilinx-zynqmp vulnerabilities2025-05-02
OSV
linux-azure-fips, linux-fips, linux-gcp-fips vulnerabilities2025-04-24
OSV
linux-aws, linux-aws-5.4, linux-gcp-5.4, linux-iot vulnerabilities2025-04-24
OSV
linux-aws-fips vulnerabilities2025-04-24
OSV
linux, linux-azure, linux-azure-5.4, linux-bluefield, linux-gcp, linux-hwe-5.4, linux-ibm, linux-kvm, linux-oracle, linux-oracle-5.4 vulnerabilities2025-04-24

📋Vendor Advisories

5
Oracle
Oracle Oracle Communications Risk Matrix: Platform (PHP) — CVE-2021-217032022-01-15
Ubuntu
PHP vulnerability2021-10-27
Red Hat
php: Local privilege escalation via PHP-FPM2021-10-20
Microsoft
PHP-FPM memory access in root process leading to privilege escalation2021-10-12
Debian
CVE-2021-21703: php7.4 - In PHP versions 7.3.x up to and including 7.3.31, 7.4.x below 7.4.25 and 8.0.x b...2021