patchminder
Exploited in the wildCVE-2022-22965

Spring4Shell.Remote code execution.

Spring4Shell is the nickname of CVE-2022-22965 in VMware Spring Framework. 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.

Name used by: Spring, CISA

Exploited
Yes
On CISA's exploited list since 4 Apr 2022
Severity
Critical 9.8
CVSS 3.1 · CISA assessment · no login needed
Attack likelihood
Very high
EPSS 99.6% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
Timeline

From publication to today

10 Jan 2022
CVE ID reserved by vmware.
30 Mar 2022
First public proof of concept on GitHub.
31 Mar 2022
Metasploit module: Spring Framework Class property RCE (Spring4Shell).
1 Apr 2022
Published in the CVE List.
4 Apr 2022
Added to CISA's Known Exploited Vulnerabilities list.
21 Oct 2025
CVE record last updated.
What to do

Fix it

  • Upgrade org.springframework:spring-beans (Maven) to 5.2.20.RELEASE, 5.3.18 or later, whichever matches your release line.
  • Upgrade org.springframework:spring-webmvc (Maven) to 5.2.20.RELEASE, 5.3.18 or later, whichever matches your release line.
  • Upgrade org.springframework.boot:spring-boot-starter-web (Maven) to 2.5.12, 2.6.6 or later, whichever matches your release line.
  • Upgrade org.springframework:spring-webflux (Maven) to 5.2.20.RELEASE, 5.3.18 or later, whichever matches your release line.
  • CISA requires US federal agencies to fix it by 25 Apr 2022.
Affected products

Affected and fixed versions

Product and line
Affected
Fixed in
Spring Framework
Not confirmed
Not confirmed
org.springframework:spring-beans (Maven)
before 5.2.20.RELEASE
5.2.20.RELEASE
org.springframework:spring-beans (Maven)
5.3.0 to before 5.3.18
5.3.18
org.springframework:spring-webmvc (Maven)
before 5.2.20.RELEASE
5.2.20.RELEASE
org.springframework:spring-webmvc (Maven)
5.3.0 to before 5.3.18
5.3.18
org.springframework.boot:spring-boot-starter-web (Maven)
before 2.5.12
2.5.12
org.springframework.boot:spring-boot-starter-web (Maven)
2.6.0 to before 2.6.6
2.6.6
org.springframework:spring-webflux (Maven)
before 5.2.20.RELEASE
5.2.20.RELEASE
org.springframework:spring-webflux (Maven)
5.3.0 to before 5.3.18
5.3.18
org.springframework.boot:spring-boot-starter-webflux (Maven)
before 2.5.12
2.5.12
org.springframework.boot:spring-boot-starter-webflux (Maven)
2.6.0 to before 2.6.6
2.6.6
Everything else

The full page for CVE-2022-22965

Severity details, every source, exploit references with their warnings, and the version check.

Open CVE-2022-22965All named vulnerabilities