CVE-2021-21703
Published: 21 October 2021
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.
Notes
Author | Note |
---|---|
sbeattie | PEAR issues should go against php-pear as of xenial |
Priority
Status
Package | Release | Status |
---|---|---|
php5 Launchpad, Ubuntu, Debian |
jammy |
Does not exist
|
upstream |
Needs triage
|
|
xenial |
Does not exist
|
|
bionic |
Does not exist
|
|
focal |
Does not exist
|
|
hirsute |
Does not exist
|
|
impish |
Does not exist
|
|
trusty |
Released
(5.5.9+dfsg-1ubuntu4.29+esm15)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only) |
|
Binaries built from this source package are in Universe and so are supported by the community. | ||
php7.0 Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
focal |
Does not exist
|
|
hirsute |
Does not exist
|
|
impish |
Does not exist
|
|
jammy |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Needs triage
|
|
xenial |
Released
(7.0.33-0ubuntu0.16.04.16+esm2)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only) |
|
Binaries built from this source package are in Universe and so are supported by the community. | ||
php7.2 Launchpad, Ubuntu, Debian |
focal |
Does not exist
|
hirsute |
Does not exist
|
|
impish |
Does not exist
|
|
jammy |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Needs triage
|
|
xenial |
Does not exist
|
|
bionic |
Released
(7.2.24-0ubuntu0.18.04.10)
|
|
Binaries built from this source package are in Universe and so are supported by the community. | ||
php7.4 Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
focal |
Released
(7.4.3-4ubuntu2.7)
|
|
hirsute |
Released
(7.4.16-1ubuntu2.2)
|
|
impish |
Does not exist
|
|
jammy |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Needs triage
|
|
xenial |
Does not exist
|
|
Binaries built from this source package are in Universe and so are supported by the community. | ||
php8.0 Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
focal |
Does not exist
|
|
hirsute |
Does not exist
|
|
impish |
Released
(8.0.8-1ubuntu0.1)
|
|
jammy |
Does not exist
|
|
trusty |
Does not exist
|
|
xenial |
Does not exist
|
|
upstream |
Released
(8.0.12)
|
|
Binaries built from this source package are in Universe and so are supported by the community. | ||
php8.1 Launchpad, Ubuntu, Debian |
jammy |
Not vulnerable
(8.1.0-1)
|
upstream |
Needs triage
|
|
xenial |
Does not exist
|
|
bionic |
Does not exist
|
|
focal |
Does not exist
|
|
groovy |
Does not exist
|
|
hirsute |
Does not exist
|
|
impish |
Does not exist
|
|
trusty |
Does not exist
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.0 |
Attack vector | Local |
Attack complexity | High |
Privileges required | Low |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |