CVE
CVE-2022-22965
CNA 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.
Affected versions
All Spring Framework vulnerabilities →
- spring-webmvc≥ 5.3.0, < 5.3.18Fixed in 5.3.18
- spring-webmvc< 5.2.20.RELEASEFixed in 5.2.20.RELEASE
- spring-beans≥ 5.3.0, < 5.3.18Fixed in 5.3.18
- spring-beans< 5.2.20.RELEASEFixed in 5.2.20.RELEASE
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- www.oracle.com/security-alerts/cpuapr2022.html · Third Party Advisory
- www.oracle.com/security-alerts/cpujul2022.html · Patch, Third Party Advisory
- github.com/advisories/GHSA-36p3-wjmg-h94x · Third Party Advisory
- osv.dev/vulnerability/GHSA-36p3-wjmg-h94x · Third Party Advisory
- github.com/spring-projects/spring-framework/commit/002546b3e4b8d791ea6 · Vendor Advisory
- github.com/spring-projects/spring-boot/releases/tag/v2.5.12 · Vendor Advisory
- github.com/spring-projects/spring-boot/releases/tag/v2.6.6 · Vendor Advisory
- github.com/spring-projects/spring-framework/releases/tag/v5.2.20.RELEA · Vendor Advisory
- github.com/spring-projects/spring-framework/releases/tag/v5.3.18 · Vendor Advisory
- spring.io/blog/2022/03/31/spring-framework-rce-early-announcement · Vendor Advisory
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.