CVE-2022-22965
Confirmed PUBLISHEDA Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. The specific...
Recommended Action
Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
At a Glance
A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. The specific exploit requires the application to run on Tomcat as a WAR deployment. If the application is deployed as a Spring Boot executable jar, i.e. the default, it is not vulnerable to the exploit. However, the nature of the vulnerability is more general, and there may be other ways to exploit it.
- CVE Published
- Apr 01, 2022
- Exploitation Reported
- Apr 04, 2022
- CVSS
- 9.8 Critical
- EPSS
- 99.7%
Affected Versions
| Vendor | Product | Version | Status |
|---|---|---|---|
| n/a |
Spring Framework
|
Spring Framework versions 5.3.X prior to 5.3.18+, 5.2.x prior to 5.2.20+ and all old and unsupported versions |
Affected |
CVE References
- 20220401 Vulnerability in Spring Framework Affecting Cisco Products: March 2022 tools.cisco.com · Vendor Advisory https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory...
- tanzu.vmware.com/security/cve-2022-22965 tanzu.vmware.com · CVE Record https://tanzu.vmware.com/security/cve-2022-22965
- oracle.com/security-alerts/cpuapr2022.html oracle.com · CVE Record https://www.oracle.com/security-alerts/cpuapr2022.html
- psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0005 psirt.global.sonicwall.com · CVE Record https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0005
- packetstormsecurity.com/files/166713/Spring4Shell-Code-Execution.html packetstormsecurity.com · CVE Record http://packetstormsecurity.com/files/166713/Spring4Shell-Code-Executi...
Show 3 more references
- cert-portal.siemens.com/productcert/pdf/ssa-254054.pdf cert-portal.siemens.com · CVE Record https://cert-portal.siemens.com/productcert/pdf/ssa-254054.pdf
- oracle.com/security-alerts/cpujul2022.html oracle.com · CVE Record https://www.oracle.com/security-alerts/cpujul2022.html
- packetstormsecurity.com/files/167011/Spring4Shell-Spring-Framework-C... packetstormsecurity.com · CVE Record http://packetstormsecurity.com/files/167011/Spring4Shell-Spring-Frame...
Recommended Actions
- Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
- Check enrichment artifacts for scanner coverage and available PoCs before rolling remediation validation.
- Use the Pro API to automate enrichment, telemetry, and workflow delivery for VM, SOC, and CTI pipelines.
Known Exploited Vulnerability Sources
Catalogues that list this CVE as a known exploited vulnerability.
Per-source evidence links for KEV attestations are available through the KEVIntel Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| CISA First | 2022-04-04 00:00 UTC |
| The Shadowserver | 2026-05-31 00:00 UTC |
Scanner Artifacts
Nuclei and Metasploit references linked to this CVE.
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-22965.yaml | Apr 25, 2025 |
| Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/spring_framework_rce_spring4shell.rb | Apr 28, 2025 |
Virtual Patch
Compensating WAF rules to help reduce exposure to this CVE. Rule content and deployable vendor exports are available with KEVIntel Enterprise.
KEVIntel does not currently have a virtual patch for this CVE. When available, KEVIntel virtual patches ship as deployable ModSecurity, Cloudflare, and AWS WAF rules.
Enterprise feature. Virtual patch rule content and deployable vendor exports (ModSecurity, Cloudflare, AWS WAF) are available to KEVIntel Enterprise users.
CVSS Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:L/Au:N/C:P/I:P/A:P
Exploitation Status
Exploited in the wild
Recorded 2022-04-04 00:00:00 UTC · CISA
Proof of concept available
Recorded 2022-03-31 02:00:18 UTC · GitHub
Weaknesses (CWE)
-
Improper Control of Generation of Code ('Code Injection')
Scanner Integrations
| Scanner | Reference | Detected |
|---|---|---|
| Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/spring_framework_rce_spring4shell.rb | Apr 28, 2025 |
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-22965.yaml | Apr 25, 2025 |
Potential Proof of Concepts
These PoCs are unverified and could contain malware. Use at your own risk.
github · Created 2023-06-20 11:45:29 UTC · 2 stars
PoC and exploit for CVE-2022-22965 Spring4Shell
github · Created 2022-12-28 04:50:16 UTC · 100 stars
CVE-2022-22965\Spring-Core-RCE核弹级别漏洞的rce图形化GUI一键利用工具,基于JavaFx开发,图形化操作更简单,提高效率。
github · Created 2022-11-08 13:45:35 UTC · 4 stars
CVE-2022-22965图形化检测工具
github · Created 2022-07-05 03:03:31 UTC · 2 stars
EXP for Spring4Shell(CVE-2022-22965)
github · Created 2022-04-27 07:57:50 UTC · 3 stars
github · Created 2022-04-23 09:01:22 UTC · 5 stars
github · Created 2022-04-12 14:59:42 UTC · 21 stars
spring4shell | CVE-2022-22965
github · Created 2022-04-07 15:26:15 UTC · 3 stars
github · Created 2022-04-07 02:30:26 UTC · 6 stars
CVE-2022-22965 pocsuite3 POC
github · Created 2022-04-07 00:08:16 UTC · 102 stars
Spring Framework RCE (CVE-2022-22965) Nmap (NSE) Checker (Non-Intrusive)
github · Created 2022-04-05 20:34:36 UTC · 2 stars
A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. The specific exploit requires the application to run on Tomcat as a WAR deployment. If the application is deployed as a Spring Boot executable jar, i.e. the default, it is not vulnerable to the exploit. However, the nature of the vulnerability is more general, and there may be other ways to exploit it.
github · Created 2022-04-04 20:16:06 UTC · 3 stars
Another spring4shell (Spring core RCE) POC
github · Created 2022-04-04 13:44:39 UTC · 7 stars
CVE-2022-22965 (Spring4Shell) Proof of Concept
github · Created 2022-04-03 06:43:07 UTC · 15 stars
Docker PoC for CVE-2022-22965 with Spring Boot version 2.6.5
github · Created 2022-04-02 09:13:54 UTC · 13 stars
CVE-2022-22965\Spring-Core-RCE堪比关于 Apache Log4j2核弹级别漏洞exp的rce一键利用
github · Created 2022-04-01 13:35:01 UTC · 13 stars
Spring Framework RCE via Data Binding on JDK 9+ / spring4shell / CVE-2022-22965
github · Created 2022-04-01 12:37:32 UTC · 11 stars
Spring4Shell (CVE-2022-22965)
github · Created 2022-04-01 07:55:26 UTC · 37 stars
批量无损检测CVE-2022-22965
github · Created 2022-04-01 04:51:44 UTC · 75 stars
SpringFramework 远程代码执行漏洞CVE-2022-22965
github · Created 2022-03-31 19:19:52 UTC · 13 stars
CVE-2022-22965 poc including reverse-shell support
github · Created 2022-03-31 18:09:58 UTC · 2 stars
github · Created 2022-03-31 16:58:56 UTC · 44 stars
A Safer PoC for CVE-2022-22965 (Spring4Shell)
github · Created 2022-03-31 16:14:36 UTC · 6 stars
Vulnerabilidad RCE en Spring Framework vía Data Binding on JDK 9+ (CVE-2022-22965 aka "Spring4Shell")
github · Created 2022-03-31 15:43:06 UTC · 17 stars
Spring Framework RCE (Quick pentest notes)
github · Created 2022-03-31 13:21:49 UTC · 28 stars
github · Created 2022-03-31 02:00:18 UTC · 16 stars
spring-core单个图形化利用工具,CVE-2022-22965及修复方案已出
nuclei · Created Unknown
Timeline
Key exploitation, disclosure, scanner coverage, and KEV attestation events for this CVE.
-
00:00 UTC about 2 months ago00:00 UTC · about 2 months ago
KEV confirmed by The Shadowserver
Exploitation attested by an external source
-
15:02 UTC about 1 year ago15:02 UTC · about 1 year ago
Metasploit module available
Exploit module available
-
00:00 UTC about 1 year ago00:00 UTC · about 1 year ago
Nuclei template available
Scanner coverage available
-
00:00 UTC over 4 years ago00:00 UTC · over 4 years ago
Added to CISA KEV
Listed in the CISA Known Exploited Vulnerabilities catalog
-
22:17 UTC over 4 years ago22:17 UTC · over 4 years ago
CVE published
Vulnerability disclosed publicly
-
02:00 UTC over 4 years ago02:00 UTC · over 4 years ago
Public PoC available
Public proof-of-concept code published
-
00:00 UTC over 4 years ago00:00 UTC · over 4 years ago
CVE ID reserved
Identifier reserved by the CNA
Automate This Intelligence with the Pro API
Confidence scoring, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
Pro API Example
GET /api/v2/pro/kevs/CVE-2022-22965
{
"cve_id": "CVE-2022-22965",
"title": "A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerabl...",
"affected_vendor": "VMware",
"affected_product": "Spring Framework",
"affected_versions": [
{ "vendor": "...", "product": "...", "status": "affected", "display_label": "..." }
],
"confidence": "Confirmed",
"cvss_score": 9.8,
"epss_score": 0.99677,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": false
},
"sensor_telemetry": { "...": "Pro API fields" },
"proof_of_concepts": [ "..." ],
"scanner_integrations": [ "..." ]
}