字号·· | 护眼
漏洞档案 · 高危

Linux Kernel 堆越界写(CVE-2021-22555)

CVE-2021-22555
CVSS 8.3 / 3.1 EPSS 78.7% CISA KEV 在野利用 公开 PoC · 15
综合风险81/ 100
CVSS8.3高危
EPSS78.7%30 天利用概率
机构收录时间2021-07-07更新 2026-12-01

研判简报

概述

CVE-2021-22555 是位于 net/netfilter/x_tables.c 的堆越界写漏洞(CWE-787),自 Linux v2.6.19-rc1 起受影响。攻击者可通过用户命名空间(user namespace)触发堆内存破坏,进而获取权限提升或造成拒绝服务。由于 netfilter 组件广泛存在于默认内核配置中,且公开利用成熟,运行未修补内核的服务器、容器宿主与终端设备均需关注。

严重性

CVSS 3.1 评分 8.3(high),综合风险分 80.94/100。EPSS 30 天利用概率 78.7%,百分位 99.6%(日期 2026-11-24),表明该漏洞在近期被实际利用的可能性很高。攻击面为本地用户命名空间内的 netfilter 接口调用。

利用状态

截至核查日期 2026-11-25:CISA KEV 已收录(收录日期 2025-10-06),KEV 要求动作期限为 2025-10-27;Exploit-DB 与公开渠道共记录 15 条 PoC/利用代码(含 Exploit-DB 50135、Packet Storm 条目);CISA SSVC 评估为 exploitation=active、technical_impact=total、automatable=no。勒索软件关联状态材料未给出。Nuclei 模板状态材料未给出。

受影响产品

Linux Kernel 版本 >= 2.6.19-rc1,上界材料未给出(官方记录标注为 unspecified)。受影响组件为 net/netfilter/x_tables.c。部署形态涵盖物理机、虚拟机、容器宿主等使用该内核 netfilter 子系统的场景;具体发行版与内核版本对应关系材料未给出。

修复版本

官方修复版本在结构化记录中标注为 Linux Kernel unspecified,材料未给出明确版本号。参考链接指向两个上游 git 提交(9fa492cdc160cd27ce1046cb36f47d3b2b1efa21 与 b29c457a6511435960115c0f548c4360d5f4801d),但参考材料页面仅返回反爬验证内容,未能提取补丁细节;与官方记录无冲突可述。

缓解措施

按 KEV 要求:应用厂商指引的缓解措施,遵循 BOD 22-01 对云服务的相关要求,或在无法缓解时停止使用该产品。可考虑的替代动作包括限制非特权用户命名空间(如通过内核参数禁用或收紧 unprivileged user namespace)、收紧 netfilter 相关能力(CAP_NET_ADMIN)分配、以及采用内核热补丁(参考材料中 Packet Storm 的 Kernel Live Patch Security Notice LSN-0080-1、LSN-0081-1 条目)。具体配置项与厂商指引材料未给出。

响应步骤

  1. 盘点资产:识别运行 Linux Kernel >= 2.6.19-rc1 的主机、容器宿主与云实例,核对内核版本与 netfilter 配置。
  2. 确认补丁状态:对照上游提交与各发行版公告,确认目标内核是否已包含修复;发行版对应版本材料未给出,需以厂商公告为准。
  3. 临时加固:在无法立即升级时,评估禁用或限制非特权用户命名空间、收紧 CAP_NET_ADMIN 授予。
  4. 检测利用迹象:关注本地提权行为与 netfilter 异常调用,结合 T1068(权限提升利用)与 T1203(客户端执行)映射排查。
  5. 跟踪 KEV 合规:按 2025-10-27 期限要求记录缓解或停用决策,云环境遵循 BOD 22-01。
  6. 复核公开 PoC:参考 Exploit-DB 50135 等 15 条公开利用,验证现有检测规则覆盖情况。

参考来源

  1. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/net/netfilter/x_tables.c?id=9fa492cdc160cd27ce1046cb36f47d3b2b1efa21kev,x_refsource_MISC,x_refsource_MISC,x_transferred,advisory,euvd
  2. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/net/netfilter/x_tables.c?id=b29c457a6511435960115c0f548c4360d5f4801dkev,x_refsource_MISC,x_refsource_MISC,x_transferred,advisory,euvd
  3. https://www.exploit-db.com/exploits/50135exploit,exploitdb
  4. https://github.com/google/security-research/security/advisories/GHSA-xxx5-8mvq-3528x_refsource_MISC,x_refsource_MISC,x_transferred,advisory,euvd
  5. http://packetstormsecurity.com/files/163528/Linux-Kernel-Netfilter-Heap-Out-Of-Bounds-Write.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,advisory,euvd
  6. https://security.netapp.com/advisory/ntap-20210805-0010/x_refsource_CONFIRM,x_refsource_CONFIRM,x_transferred,advisory,euvd
  7. http://packetstormsecurity.com/files/163878/Kernel-Live-Patch-Security-Notice-LSN-0080-1.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,advisory,euvd
  8. http://packetstormsecurity.com/files/164155/Kernel-Live-Patch-Security-Notice-LSN-0081-1.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,advisory,euvd
  9. http://packetstormsecurity.com/files/164437/Netfilter-x_tables-Heap-Out-Of-Bounds-Write-Privilege-Escalation.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,advisory,euvd
  10. http://packetstormsecurity.com/files/165477/Kernel-Live-Patch-Security-Notice-LSN-0083-1.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,advisory,euvd
  11. https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-22555government-resource
  12. https://github.com/rapid7/metasploit-framework/tree/master/modules/exploit_linux/local/netfilter_xtables_heap_oob_write_priv_escexploit,metasploit
  13. https://www.trendmicro.com/en_us/research/24/c/earth-krahang.htmlkev
  14. https://securelist.com/vulnerabilities-and-exploits-in-q2-2025/117333/kev
  15. https://euvd.enisa.europa.eu/enisa/EUVD-2021-9696kev
  16. https://www.cisa.gov/known-exploited-vulnerabilities-catalogkev