Live threats

All CVEs / Php

CVE-2021-21703Php

High 7.0

Priority
42
CVSS 3.1
7.0
EPSS
1.4%
probability of exploitation in 30 days · percentile 73
Auth required
Yes
Published
Oct 25, 2021
Updated
Jun 17, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-284, CWE-787
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.

Affected products (CPE)

VendorProductVersions
phpphp≥ 7.3.0 ≤ 7.3.31
phpphp≥ 7.4.0 < 7.4.25
phpphp≥ 8.0.0 < 8.0.12
debiandebian_linux9.0
debiandebian_linux10.0
debiandebian_linux11.0
fedoraprojectfedora33
fedoraprojectfedora34
fedoraprojectfedora35
netappclustered_data_ontapall
oraclecommunications_diameter_signaling_router≥ 8.0.0.0 ≤ 8.5.0.2

Official sources

References

Links published by the sources. Open them with care.