Critical severityCISA KEVNVD Advisory· Published Apr 1, 2022· Updated Oct 21, 2025
CVE-2022-22965
CVE-2022-22965
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.springframework:spring-beansMaven | < 5.2.20.RELEASE | 5.2.20.RELEASE |
org.springframework:spring-beansMaven | >= 5.3.0, < 5.3.18 | 5.3.18 |
org.springframework:spring-webmvcMaven | < 5.2.20.RELEASE | 5.2.20.RELEASE |
org.springframework:spring-webmvcMaven | >= 5.3.0, < 5.3.18 | 5.3.18 |
org.springframework.boot:spring-boot-starter-webMaven | < 2.5.12 | 2.5.12 |
org.springframework.boot:spring-boot-starter-webMaven | >= 2.6.0, < 2.6.6 | 2.6.6 |
org.springframework:spring-webfluxMaven | < 5.2.20.RELEASE | 5.2.20.RELEASE |
org.springframework:spring-webfluxMaven | >= 5.3.0, < 5.3.18 | 5.3.18 |
org.springframework.boot:spring-boot-starter-webfluxMaven | < 2.5.12 | 2.5.12 |
org.springframework.boot:spring-boot-starter-webfluxMaven | >= 2.6.0, < 2.6.6 | 2.6.6 |
Affected products
6- ghsa-coords5 versionspkg:maven/org.springframework.boot/spring-boot-starter-webpkg:maven/org.springframework.boot/spring-boot-starter-webfluxpkg:maven/org.springframework/spring-beanspkg:maven/org.springframework/spring-webfluxpkg:maven/org.springframework/spring-webmvc
< 2.5.12+ 4 more
- (no CPE)range: < 2.5.12
- (no CPE)range: < 2.5.12
- (no CPE)range: < 5.2.20.RELEASE
- (no CPE)range: < 5.2.20.RELEASE
- (no CPE)range: < 5.2.20.RELEASE
Patches
Vulnerability mechanics
References
18- github.com/advisories/GHSA-36p3-wjmg-h94xghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-22965ghsaADVISORY
- tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-java-spring-rce-Zx9GUc67ghsavendor-advisoryx_refsource_CISCOWEB
- packetstormsecurity.com/files/166713/Spring4Shell-Code-Execution.htmlghsax_refsource_MISCWEB
- packetstormsecurity.com/files/167011/Spring4Shell-Spring-Framework-Class-Property-Remote-Code-Execution.htmlghsax_refsource_MISCWEB
- cert-portal.siemens.com/productcert/pdf/ssa-254054.pdfghsax_refsource_CONFIRMWEB
- github.com/spring-projects/spring-boot/releases/tag/v2.5.12ghsaWEB
- github.com/spring-projects/spring-boot/releases/tag/v2.6.6ghsaWEB
- github.com/spring-projects/spring-framework/commit/002546b3e4b8d791ea6acccb81eb3168f51abb15ghsaWEB
- github.com/spring-projects/spring-framework/releases/tag/v5.2.20.RELEASEghsaWEB
- github.com/spring-projects/spring-framework/releases/tag/v5.3.18ghsaWEB
- psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0005ghsax_refsource_CONFIRMWEB
- spring.io/blog/2022/03/31/spring-framework-rce-early-announcementghsaWEB
- tanzu.vmware.com/security/cve-2022-22965ghsax_refsource_MISCWEB
- www.cisa.gov/known-exploited-vulnerabilities-catalogghsaWEB
- www.kb.cert.org/vuls/id/970766ghsaWEB
- www.oracle.com/security-alerts/cpuapr2022.htmlghsax_refsource_MISCWEB
- www.oracle.com/security-alerts/cpujul2022.htmlghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.