CVE-2022-22965A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. The…
- 9.8CriticalCVSS base score
- 99.6%Exploitation in 30 daysEPSS · top 0.1% of all CVEs
- YesKnown exploitedin CISA's KEV since 4 Apr 2022
- 2Public exploitsMetasploit, Nuclei and Exploit-DB
Description
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.
Exploited in the wild
CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as Spring Framework JDK 9+ Remote Code Execution Vulnerability.
- Added
- 4 Apr 2022
- Fix due (US federal)
- 25 Apr 2022
- Used by ransomware
- Not known
Apply updates per vendor instructions.
ENISA's EU Vulnerability Database lists it as exploited, from CISA's KEV, since 4 Apr 2022.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module and a Nuclei template for it. CISA's SSVC rates its exploitation: it is being exploited.
Show the exploits2
Metasploit modules1 module
- Spring Framework Class property RCE (Spring4Shell) (Metasploit module) (opens in a new tab)
exploit/multi/http/spring_framework_rce_spring4shellRank manualdisclosed 31 Mar 2022
Nuclei templates1 template
- Spring - Remote Code Execution (Nuclei template) (opens in a new tab)
http/cves/2022/CVE-2022-22965.yamlSeverity critical
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By vmware
- 3 months later
· 3 months later
Published
- 3 days later
· 3 days later
Added to CISA KEV
Known exploited in the wild
- 4 years later
· 4 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 99.6% · top 0.1% of all CVEs (13 Nov 2026)
- CISA SSVC
- Exploitation: active · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
Spring Framework
- affected 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 packages
Affected packages5
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.springframework.boot:spring-boot-starter-webGHSA-36p3-wjmg-h94x (opens in a new tab)
- Mavenorg.springframework.boot:spring-boot-starter-webfluxGHSA-36p3-wjmg-h94x (opens in a new tab)
- Mavenorg.springframework:spring-beansGHSA-36p3-wjmg-h94x (opens in a new tab)
- Mavenorg.springframework:spring-webfluxGHSA-36p3-wjmg-h94x (opens in a new tab)
- Mavenorg.springframework:spring-webmvcGHSA-36p3-wjmg-h94x (opens in a new tab)
References
References10
- https://tanzu.vmware.com/security/cve-2022-22965 (opens in a new tab)x_refsource_MISCx_transferred
- 20220401 Vulnerability in Spring Framework Affecting Cisco Products: March 2022 (opens in a new tab)vendor-advisoryx_refsource_CISCOx_transferred
- https://www.oracle.com/security-alerts/cpuapr2022.html (opens in a new tab)x_refsource_MISCx_transferred
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0005 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://packetstormsecurity.com/files/166713/Spring4Shell-Code-Execution.html (opens in a new tab)x_refsource_MISCx_transferred
- https://cert-portal.siemens.com/productcert/pdf/ssa-254054.pdf (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.oracle.com/security-alerts/cpujul2022.html (opens in a new tab)x_refsource_MISCx_transferred
- http://packetstormsecurity.com/files/167011/Spring4Shell-Spring-Framework-Class-Property-Remote-Code-Execution.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.kb.cert.org/vuls/id/970766 (opens in a new tab)
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-22965 (opens in a new tab)government-resource
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- CISA KEV catalog (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-1283 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-36p3-wjmg-h94x (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-22965)Record last updated .