cbcvebase.
CVE-2021-21703
published 2021-10-25

CVE-2021-21703: 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…

high7CVSS 3.1
AVLACHPRLUINSUCHIHAH
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.

Affected

16 ranges
VendorProductVersion rangeFixed in
debiandebian_linux
debiandebian_linux
debiandebian_linux
debianphp7.4< php7.4 7.4.25-1+deb11u1 (bullseye)php7.4 7.4.25-1+deb11u1 (bullseye)
fedoraprojectfedora
fedoraprojectfedora
fedoraprojectfedora
linuxlinux_kernel>= 0 < 5.4.0-214.2345.4.0-214.234
msrccbl2_php_on_cbl_mariner_2.0
oraclecommunications_diameter_signaling_router8.0.0.0 – 8.5.0.2
phpphp7.3.0 – 7.3.31
phpphp>= 7.4.0 < 7.4.257.4.25
phpphp>= 8.0.0 < 8.0.128.0.12
php_groupphp7.3.x – 7.3.31
php_groupphp>= 7.4.x < 7.4.257.4.25
php_groupphp>= 8.0.X < 8.0.128.0.12

CVSS provenance

nvdv3.17.0HIGHCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.0HIGH