CVE-2021-21703
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.
How to fix
- php php7.4.25, 8.0.12 or later
- debian.org/security/2021/dsa-4992
- debian.org/security/2021/dsa-4993
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JO5RA6YOBGGGKLIA6F6BQRZDDECF5L3R/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PBM3KKB3RY2YPOKNMC4HIH7IH3T3WC74/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6PZVLICZUJMXOGWOUWSBAEGIVTF6Y6V3/
- security.gentoo.org/glsa/202209-20
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| php php | 7.3.0 ≤ v ≤ 7.3.31, 7.4.0 ≤ v < 7.4.25, 8.0.0 ≤ v < 8.0.12 | 7.4.25, 8.0.12 |
| debian debian_linux | 9.0, 10.0, 11.0 | — |
| fedoraproject fedora | 33, 34, 35 | — |
| netapp clustered_data_ontap | No range specified | — |
| oracle communications_diameter_signaling_router | 8.0.0.0 ≤ v ≤ 8.5.0.2 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.