字号·· | 护眼
漏洞档案 · 严重

Spring Framework 远程代码执行(CVE-2022-22965)

CVE-2022-22965 别名:GHSA-36P3-WJMG-H94X
CVSS 9.8 / 3.1 EPSS 89.2% CISA KEV 在野利用 勒索软件利用 公开 PoC · 91 Nuclei 模板
综合风险100/ 100
CVSS9.8严重
EPSS89.2%30 天利用概率
机构收录时间2022-04-02更新 2026-11-30

研判简报

概述

Spring MVC 或 Spring WebFlux 应用在 JDK 9+ 上运行时,可能通过数据绑定遭受远程代码执行。特定利用方式要求应用以 WAR 部署在 Tomcat 上;若以 Spring Boot 可执行 jar(默认方式)部署,则不受该利用方式影响,但漏洞性质更通用,可能存在其他利用途径。该漏洞 CVSS 9.8、EPSS 30 天利用概率 89.2%,且已收录 CISA KEV 并存在勒索软件利用记录,使用 Spring 框架的开发和运维团队应优先排查。

严重性

CVSS 3.1 评分 9.8(AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H),综合风险分 100.0/100,严重性 critical;EPSS 30 天利用概率 89.2%(百分位 99.9%,日期 2026-11-25)。攻击面为面向公众的 Spring MVC/WebFlux 应用,MITRE ATT&CK 映射 T1059 命令与脚本解释器、T1190 利用面向公众的应用。

利用状态

截至核查日期 2026-11-26:CISA KEV 已收录(2022-04-04),KEV 要求动作「Apply updates per vendor instructions.」,期限 2022-04-25;已知勒索软件利用;已有公开 Nuclei 检测模板(http/cves/2022/CVE-2022-22965.yaml);Exploit-DB/公开 PoC 共 91 条;CISA SSVC:automatable=yes / exploitation=active / technical_impact=total。

受影响产品

Spring Framework:版本 < 5.2.20;5.3.0 ≤ 版本 < 5.3.18。另涉及 cisco:cx_cloud_agent(< 2.1.0)及多项 Oracle Communications Cloud Native Core 组件(1.7.0/1.8.0/1.9.0/1.10.0/1.15.0/22.1.0 等具体版本)。部署形态:特定利用要求 Tomcat 上 WAR 部署;Spring Boot 可执行 jar 默认部署不受该利用方式影响。

修复版本

官方修复版本:spring_framework 5.2.20、5.3.18、2.1.0(结构化提取)。无法升级到上述版本的应用,材料提及早期公告博客中有其他缓解步骤,但具体内容材料未给出。

缓解措施

材料给出的直接缓解为升级至官方修复版本;对无法升级的应用,材料仅指出存在其他缓解步骤(见早期公告博客),具体措施材料未给出。另据官方描述,以 Spring Boot 可执行 jar(默认方式)部署不受特定利用方式影响,但不应视为完整修复。

响应步骤

  1. 盘点使用 Spring Framework 的资产,对照版本区间(< 5.2.20、5.3.0–5.3.18)及 Oracle/Cisco 关联组件版本确认暴露面。
  2. 确认部署形态:重点排查 Tomcat 上以 WAR 部署的 Spring MVC/WebFlux 应用。
  3. 升级至 5.2.20、5.3.18 或 2.1.0(按产品线对应),并核对 Oracle/Cisco 关联产品的厂商公告。
  4. 使用公开 Nuclei 模板(http/cves/2022/CVE-2022-22965.yaml)对面向公众的应用做检测验证。
  5. 按 KEV 要求应用厂商更新,并对已暴露系统排查异常命令执行与脚本解释器活动(T1059)。
  6. 关注勒索软件利用迹象,对无法立即修复的系统实施网络层访问限制并加强监控。

参考来源

  1. https://nvd.nist.gov/vuln/detail/CVE-2022-22965kev
  2. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-22965.yamlexploit,nuclei
  3. https://tanzu.vmware.com/security/cve-2022-22965x_refsource_MISC,x_refsource_MISC,x_transferred,nvd
  4. https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-java-spring-rce-Zx9GUc67vendor-advisory,x_refsource_CISCO,vendor-advisory,x_refsource_CISCO,x_transferre
  5. https://www.oracle.com/security-alerts/cpuapr2022.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,nvd
  6. https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0005x_refsource_CONFIRM,x_refsource_CONFIRM,x_transferred,nvd
  7. http://packetstormsecurity.com/files/166713/Spring4Shell-Code-Execution.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,nvd
  8. https://cert-portal.siemens.com/productcert/pdf/ssa-254054.pdfx_refsource_CONFIRM,x_refsource_CONFIRM,x_transferred,nvd
  9. https://www.oracle.com/security-alerts/cpujul2022.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,nvd
  10. http://packetstormsecurity.com/files/167011/Spring4Shell-Spring-Framework-Class-Property-Remote-Code-Execution.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,nvd
  11. https://www.kb.cert.org/vuls/id/970766
  12. https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-22965government-resource
  13. https://github.com/rapid7/metasploit-framework/tree/master/modules/exploit_multi/http/spring_framework_rce_spring4shellexploit,metasploit
  14. https://euvd.enisa.europa.eu/enisa/EUVD-2022-1283kev
  15. https://www.cisa.gov/known-exploited-vulnerabilities-catalogkev
  16. https://www.trendmicro.com/en_us/research/22/d/cve-2022-22965-analyzing-the-exploitation-of-spring4shell-vulner.htmlkev