Rapid7 Vulnerability & Exploit Database

Red Hat: CVE-2021-21703: CVE-2021-21703 php: Local privilege escalation via PHP-FPM (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Red Hat: CVE-2021-21703: CVE-2021-21703 php: Local privilege escalation via PHP-FPM (Multiple Advisories)

Severity
7
CVSS
(AV:L/AC:M/Au:N/C:C/I:C/A:C)
Published
10/25/2021
Created
05/14/2022
Added
05/13/2022
Modified
12/15/2023

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.

Solution(s)

  • redhat-upgrade-apcu-panel
  • redhat-upgrade-libzip
  • redhat-upgrade-libzip-debuginfo
  • redhat-upgrade-libzip-debugsource
  • redhat-upgrade-libzip-devel
  • redhat-upgrade-libzip-tools
  • redhat-upgrade-libzip-tools-debuginfo
  • redhat-upgrade-php
  • redhat-upgrade-php-bcmath
  • redhat-upgrade-php-bcmath-debuginfo
  • redhat-upgrade-php-cli
  • redhat-upgrade-php-cli-debuginfo
  • redhat-upgrade-php-common
  • redhat-upgrade-php-common-debuginfo
  • redhat-upgrade-php-dba
  • redhat-upgrade-php-dba-debuginfo
  • redhat-upgrade-php-dbg
  • redhat-upgrade-php-dbg-debuginfo
  • redhat-upgrade-php-debuginfo
  • redhat-upgrade-php-debugsource
  • redhat-upgrade-php-devel
  • redhat-upgrade-php-embedded
  • redhat-upgrade-php-embedded-debuginfo
  • redhat-upgrade-php-enchant
  • redhat-upgrade-php-enchant-debuginfo
  • redhat-upgrade-php-ffi
  • redhat-upgrade-php-ffi-debuginfo
  • redhat-upgrade-php-fpm
  • redhat-upgrade-php-fpm-debuginfo
  • redhat-upgrade-php-gd
  • redhat-upgrade-php-gd-debuginfo
  • redhat-upgrade-php-gmp
  • redhat-upgrade-php-gmp-debuginfo
  • redhat-upgrade-php-intl
  • redhat-upgrade-php-intl-debuginfo
  • redhat-upgrade-php-json
  • redhat-upgrade-php-json-debuginfo
  • redhat-upgrade-php-ldap
  • redhat-upgrade-php-ldap-debuginfo
  • redhat-upgrade-php-mbstring
  • redhat-upgrade-php-mbstring-debuginfo
  • redhat-upgrade-php-mysqlnd
  • redhat-upgrade-php-mysqlnd-debuginfo
  • redhat-upgrade-php-odbc
  • redhat-upgrade-php-odbc-debuginfo
  • redhat-upgrade-php-opcache
  • redhat-upgrade-php-opcache-debuginfo
  • redhat-upgrade-php-pdo
  • redhat-upgrade-php-pdo-debuginfo
  • redhat-upgrade-php-pear
  • redhat-upgrade-php-pecl-apcu
  • redhat-upgrade-php-pecl-apcu-debuginfo
  • redhat-upgrade-php-pecl-apcu-debugsource
  • redhat-upgrade-php-pecl-apcu-devel
  • redhat-upgrade-php-pecl-rrd
  • redhat-upgrade-php-pecl-rrd-debuginfo
  • redhat-upgrade-php-pecl-rrd-debugsource
  • redhat-upgrade-php-pecl-xdebug
  • redhat-upgrade-php-pecl-xdebug-debuginfo
  • redhat-upgrade-php-pecl-xdebug-debugsource
  • redhat-upgrade-php-pecl-zip
  • redhat-upgrade-php-pecl-zip-debuginfo
  • redhat-upgrade-php-pecl-zip-debugsource
  • redhat-upgrade-php-pgsql
  • redhat-upgrade-php-pgsql-debuginfo
  • redhat-upgrade-php-process
  • redhat-upgrade-php-process-debuginfo
  • redhat-upgrade-php-snmp
  • redhat-upgrade-php-snmp-debuginfo
  • redhat-upgrade-php-soap
  • redhat-upgrade-php-soap-debuginfo
  • redhat-upgrade-php-xml
  • redhat-upgrade-php-xml-debuginfo
  • redhat-upgrade-php-xmlrpc
  • redhat-upgrade-php-xmlrpc-debuginfo

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;