CVE-2021-21703 (CNNVD-202110-1514)

HIGH
中文标题:
PHP 缓冲区错误漏洞
英文标题:
PHP-FPM memory access in root process leading to privilege escalation
CVSS分数: 7.8
发布时间: 2021-10-25 05:40:08
漏洞类型: 缓冲区错误
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

PHP是一种在服务器端执行的脚本语言。 PHP 存在缓冲区错误漏洞,攻击者可以通过 FPM 绕过 PHP 的访问限制,以读取或更改数据。

英文描述:

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.

CWE类型:
CWE-284 CWE-787
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
PHP Group PHP - ≤ 7.3.31 - cpe:2.3:a:php_group:php:*:*:*:*:*:*:*:*
php php * - - cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
debian debian_linux 9.0 - - cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
debian debian_linux 10.0 - - cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
debian debian_linux 11.0 - - cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
fedoraproject fedora 33 - - cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
fedoraproject fedora 34 - - cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
fedoraproject fedora 35 - - cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
netapp clustered_data_ontap - - - cpe:2.3:a:netapp:clustered_data_ontap:-:*:*:*:*:*:*:*
oracle communications_diameter_signaling_router * - - cpe:2.3:a:oracle:communications_diameter_signaling_router:*:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
无标题 x_refsource_MISC
cve.org
访问
DSA-4992 vendor-advisory
cve.org
访问
DSA-4993 vendor-advisory
cve.org
访问
[oss-security] 20211026 CVE-2021-21703: PHP-FPM 5.3.7 <= 8.0.12 Local Root mailing-list
cve.org
访问
[debian-lts-announce] 20211027 [SECURITY] [DLA 2794-1] php7.0 security update mailing-list
cve.org
访问
FEDORA-2021-9f68f5f752 vendor-advisory
cve.org
访问
FEDORA-2021-4140b54de2 vendor-advisory
cve.org
访问
FEDORA-2021-02d218c3be vendor-advisory
cve.org
访问
无标题 x_refsource_MISC
cve.org
访问
无标题 x_refsource_CONFIRM
cve.org
访问
无标题 x_refsource_MISC
cve.org
访问
GLSA-202209-20 vendor-advisory
cve.org
访问
CVSS评分详情
3.1 (cna)
HIGH
7.8
CVSS向量: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
机密性
HIGH
完整性
HIGH
可用性
HIGH
时间信息
发布时间:
2021-10-25 05:40:08
修改时间:
2024-09-17 03:02:55
创建时间:
2025-11-11 15:36:37
更新时间:
2025-11-11 15:56:57
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2021-21703 2025-11-11 15:20:48 2025-11-11 07:36:37
NVD nvd_CVE-2021-21703 2025-11-11 14:57:44 2025-11-11 07:44:58
CNNVD cnnvd_CNNVD-202110-1514 2025-11-11 15:10:44 2025-11-11 07:56:57
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 15:56:57
vulnerability_type: 未提取 → 缓冲区错误; cnnvd_id: 未提取 → CNNVD-202110-1514; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 缓冲区错误
  • cnnvd_id: 未提取 -> CNNVD-202110-1514
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:44:58
affected_products_count: 3 → 10; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • affected_products_count: 3 -> 10
  • data_sources: ['cve'] -> ['cve', 'nvd']