CVE & CISA-KEV Catalog

CVE-2021-21703

HIGH
7.8
CVSS v3
NVD

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.

How to fix

Remediation Available
php7.4Debian
Fixed in:7.4.25-1+deb11u1CVE-2021-21703
php5Ubuntu
Fixed in:5.5.9+dfsg-1ubuntu4.29+esm15USN-5125-1
php5-fpmUbuntu
Fixed in:5.5.9+dfsg-1ubuntu4.29+esm15USN-5125-1
php7.0Ubuntu
Fixed in:7.0.33-0ubuntu0.16.04.16+esm2USN-5125-1
php7.0-fpmUbuntu
Fixed in:7.0.33-0ubuntu0.16.04.16+esm2USN-5125-1
php7.2Ubuntu
Fixed in:7.2.24-0ubuntu0.18.04.10USN-5125-1
php7.2-fpmUbuntu
Fixed in:7.2.24-0ubuntu0.18.04.10USN-5125-1
php7.4Ubuntu
Fixed in:7.4.3-4ubuntu2.7USN-5125-1
php7.4-fpmUbuntu
Fixed in:7.4.3-4ubuntu2.7USN-5125-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeChanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Exploit Intelligence

1.34%probability of exploitation in 30 days
68thpercentile

Moderate risk: more likely to be exploited than 68% of all known CVEs.

References

Related Vulnerabilities

Other CWE-284 (Improper Access Control) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-27350Critical9.8100%KEV + RansomFix
CVE-2019-1653High7.5100%KEV-
CVE-2023-23752Medium5.3100%KEVFix
CVE-2023-29298High7.5100%KEV-
CVE-2023-38205High7.5100%KEV-
CVE-2024-27348Critical9.899%KEVFix
Embed a live status badge for CVE-2021-21703
CVE-2021-21703 severity badge

Markdown

[![CVE-2021-21703](https://tridentstack.com/cve/badge/CVE-2021-21703.svg)](https://tridentstack.com/cve/CVE-2021-21703)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-21703"><img src="https://tridentstack.com/cve/badge/CVE-2021-21703.svg" alt="CVE-2021-21703"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.