Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
CISA KEV·Added 2022-04-04 — agencies required to remediate by 2022-04-25
Maven

GHSA-36p3-wjmg-h94x

CRITICAL

Remote Code Execution in Spring Framework

Also known asCVE-2022-22965
Published
Mar 31, 2022
Updated
Oct 22, 2025
Affected
10 pkgs
Patched
10 / 10
Exploits
106 known

EPSS Exploitation Probability

via FIRST.org ↗
94.4%probability of exploitation in next 30 days
Very High Risk100th percentile0.00%
93.9%94.3%94.6%94.9%94.4%94.4%Dec 25Apr 26Jun 26

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

Blast Radius

10 pkgs affected
org.springframework:spring-beansorg.springframework:spring-beansorg.springframework:spring-webmvcorg.springframework:spring-webmvcorg.springframework.boot:spring-boot-starter-weborg.springframework.boot:spring-boot-starter-weborg.springframework:spring-webfluxorg.springframework:spring-webflux+2 more

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

Spring Framework prior to versions 5.2.20 and 5.3.18 contains a remote code execution vulnerability known as Spring4Shell.

Impact

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.

These are the prerequisites for the exploit:

  • JDK 9 or higher
  • Apache Tomcat as the Servlet container
  • Packaged as WAR
  • spring-webmvc or spring-webflux dependency

Patches

Workarounds

For those who are unable to upgrade, leaked reports recommend setting disallowedFields on WebDataBinder through an @ControllerAdvice. This works generally, but as a centrally applied workaround fix, may leave some loopholes, in particular if a controller sets disallowedFields locally through its own @InitBinder method, which overrides the global setting.

To apply the workaround in a more fail-safe way, applications could extend RequestMappingHandlerAdapter to update the WebDataBinder at the end after all other initialization. In order to do that, a Spring Boot application can declare a WebMvcRegistrations bean (Spring MVC) or a WebFluxRegistrations bean (Spring WebFlux).

Affected Packages

10 total 10 fixed
EcosystemPackageVulnerable rangeFix
Mavenorg.springframework:spring-beansall versions5.2.20.RELEASE
Mavenorg.springframework:spring-beans5.3.0&&< 5.3.185.3.18
Mavenorg.springframework:spring-webmvcall versions5.2.20.RELEASE
Mavenorg.springframework:spring-webmvc5.3.0&&< 5.3.185.3.18
Mavenorg.springframework.boot:spring-boot-starter-weball versions2.5.12
Mavenorg.springframework.boot:spring-boot-starter-web2.6.0&&< 2.6.62.6.6
Exploits & PoCs
106

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Frequently Asked Questions

Spring Framework prior to versions 5.2.20 and 5.3.18 contains a remote code execution vulnerability known as `Spring4Shell`. ## Impact 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. These are the prerequisites f
O3 Security · Impact-Aware SCA

Is GHSA-36p3-wjmg-h94x in your stack?

O3 detects GHSA-36p3-wjmg-h94x across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.