6.9 Medium
CVSS2
Attack Vector
LOCAL
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:L/AC:M/Au:N/C:C/I:C/A:C
7.8 High
CVSS3
Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
0.001 Low
EPSS
Percentile
51.0%
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.
Author | Note |
---|---|
sbeattie | PEAR issues should go against php-pear as of xenial |
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
ubuntu | 14.04 | noarch | php5 | < 5.5.9+dfsg-1ubuntu4.29+esm15 | UNKNOWN |
ubuntu | 16.04 | noarch | php7.0 | < 7.0.33-0ubuntu0.16.04.16+esm2 | UNKNOWN |
ubuntu | 18.04 | noarch | php7.2 | < 7.2.24-0ubuntu0.18.04.10 | UNKNOWN |
ubuntu | 20.04 | noarch | php7.4 | < 7.4.3-4ubuntu2.7 | UNKNOWN |
ubuntu | 21.04 | noarch | php7.4 | < 7.4.16-1ubuntu2.2 | UNKNOWN |
ubuntu | 21.10 | noarch | php8.0 | < 8.0.8-1ubuntu0.1 | UNKNOWN |
github.com/php/php-src/commit/fadb1f8c1d08ae62b4f0a16917040fde57a3b93b
launchpad.net/bugs/cve/CVE-2021-21703
nvd.nist.gov/vuln/detail/CVE-2021-21703
security-tracker.debian.org/tracker/CVE-2021-21703
ubuntu.com/security/notices/USN-5125-1
www.ambionics.io/blog/php-fpm-local-root
www.cve.org/CVERecord?id=CVE-2021-21703
6.9 Medium
CVSS2
Attack Vector
LOCAL
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:L/AC:M/Au:N/C:C/I:C/A:C
7.8 High
CVSS3
Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
0.001 Low
EPSS
Percentile
51.0%