7.8

CVE-2021-21703: PHP-FPM memory access in root process leading to privilege escalation

Modified
AliasesMGASA-2021-0501SUSE-SU-2021:3726-1SUSE-SU-2021:3727-1
Published 25-10-2021Last modified 17-09-2024

Vulnerability summary

CVE-2021-21703 is a high (CVSS 7.8) Improper Access Control vulnerability in debian debian_linux. EPSS estimates a 1.43% chance of exploitation in the next 30 days, higher than 72.9% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (reference, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
1.43%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 10 · Related 8

Timeline

  1. 25-10-2021
    PublishedVulnerability first disclosed.
  2. 17-09-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

1.43%

Chance of exploitation in the next 30 days

Percentile

73%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.43% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (bugs.php.net)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian4 products
  • php7.0< 7.0.33-0+deb9u12
  • php7.3< 7.3.31-1~deb10u1
  • php7.4< 7.4.25-1+deb11u1
  • debian_linuxEOL9.0 | 10.0 | 11.0
Suse4 products
  • php72&distro=SUSE Linux Enterprise Module for Web and Scripting 12< 7.2.5-1.72.1
  • php72&distro=SUSE Linux Enterprise Software Development Kit 12 SP5< 7.2.5-1.72.1
  • php74&distro=SUSE Linux Enterprise Module for Web and Scripting 12< 7.4.6-1.27.1
  • php74&distro=SUSE Linux Enterprise Software Development Kit 12 SP5< 7.4.6-1.27.1
Ubuntu4 products
  • php5< 5.5.9+dfsg-1ubuntu4.29+esm15
  • php7.0< 7.0.33-0ubuntu0.16.04.16+esm2
  • php7.2< 7.2.24-0ubuntu0.18.04.10
  • php7.4< 7.4.3-4ubuntu2.7
Alpine3 products
  • php7< 7.3.32-r0 | < 7.4.25-r0
  • php8< 8.0.12-r0
  • php81< 8.1.0_rc5-r0
Opensuse2 products
  • php7&distro=openSUSE Tumbleweed< 7.4.25-1.1
  • php8&distro=openSUSE Tumbleweed< 8.0.12-1.1
Fedoraproject1 product
Mageia1 product
  • php< 8.0.12-1.mga8
Netapp1 product
Oracle1 product
Php1 product
  • php≥ 7.3.0, ≤ 7.3.31 | ≥ 7.4.0, < 7.4.25 | ≥ 8.0.0, < 8.0.12
Php group1 product
  • php≥ 7.3.x, ≤ 7.3.31 | ≥ 7.4.x, < 7.4.25 | ≥ 8.0.X, < 8.0.12

11 vendors · 23 products

References

27 links
Show all 27 references