CVE Database
/

CVE-2021-21703

Back to search

CVE-2021-21703

Published: Oct 25, 2021

Modified: Sep 17, 2024

PUBLISHED

CVSS v3.1

7.8

HIGH

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.

VendorProductVersions

PHP Group

PHP

affected
7.3.x - <= 7.3.31
affected
7.4.x - < 7.4.25
affected
8.0.X - < 8.0.12

Weaknesses (CWE)

CVSS v3.1 Details

CVSS v3.1 Vector

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

Attack Vector

Local

Attack Complexity

High

Privileges Required

Low

User Interaction

None

Scope

Changed

Confidentiality

High

Integrity

High

Availability

High

References

DSA-4992
vendor-advisory
x_refsource_DEBIAN
DSA-4993
vendor-advisory
x_refsource_DEBIAN
FEDORA-2021-9f68f5f752
vendor-advisory
x_refsource_FEDORA
FEDORA-2021-4140b54de2
vendor-advisory
x_refsource_FEDORA
FEDORA-2021-02d218c3be
vendor-advisory
x_refsource_FEDORA
GLSA-202209-20
vendor-advisory
x_refsource_GENTOO

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now