CVE-2021-21703
HIGH7.0EPSS 0.14%PHP-FPM memory access in root process leading to privilege escalation
發布日:2021/10/25修改日:2026/4/28
描述
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.
受影響套件(7)
- Bitnami/libphp>= 7.3.0, < 7.3.32, >= 7.4.0, < 7.4.25, >= 8.0.0, < 8.0.12
- Bitnami/php>= 7.3.0, < 7.3.32, >= 7.4.0, < 7.4.25, >= 8.0.0, < 8.0.12
- Bitnami/php-min>= 7.3.0, < 7.3.32, >= 7.4.0, < 7.4.25, >= 8.0.0, < 8.0.12
- Debian/php7.0from 0, < 7.0.33-0+deb9u12
- Debian/php7.3from 0, < 7.3.31-1~deb10u1
- Debian/php7.4from 0, < 7.4.25-1+deb11u1
- Debian/php7.4from 0, < 7.4.25-1+deb11u1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
參考連結(14)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-21703
- WEBhttps://bugs.php.net/bug.php?id=81026
- WEBhttps://lists.debian.org/debian-lts-announce/2021/10/msg00021.html
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6PZVLICZUJMXOGWOUWSBAEGIVTF6Y6V3/
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JO5RA6YOBGGGKLIA6F6BQRZDDECF5L3R/
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PBM3KKB3RY2YPOKNMC4HIH7IH3T3WC74/
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2021-21703
- WEBhttps://security.gentoo.org/glsa/202209-20
- WEBhttps://security.netapp.com/advisory/ntap-20211118-0003/
- WEBhttps://www.debian.org/security/2021/dsa-4992
- WEBhttps://www.debian.org/security/2021/dsa-4993
- WEBhttps://www.oracle.com/security-alerts/cpuapr2022.html
- WEBhttps://www.oracle.com/security-alerts/cpujan2022.html
- WEBhttp://www.openwall.com/lists/oss-security/2021/10/26/7