CVE-2022-22965
Remote Code Execution in Spring Framework
Reported by vmware · Published April 1, 2022
spring-beans is fixed in 5.3.18 and 5.2.20 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.springframework:spring-beans | Maven Central | 5.3.18, 5.2.20 |
| org.springframework:spring-webflux | Maven Central | 5.3.18, 5.2.20.RELEASE |
| org.springframework:spring-core | Maven Central | 5.3.18, 5.2.20 |
| org.springframework.boot:spring-boot-starter-web | Maven Central | 2.6.6, 2.5.12 |
| org.springframework.boot:spring-boot-starter-webflux | Maven Central | 2.6.6, 2.5.12 |
| org.springframework.boot:spring-boot | Maven Central | 2.6.6, 2.5.12 |
| org.springframework:spring-webmvc | Maven Central | 5.3.18, 5.2.20.RELEASE |
| operation_scheduler | siemens | 2.0.4 |
| spring_framework | vmware | 5.3.18, 5.2.20 |
| sinec_network_management_system | siemens | 1.0.3 |
| mysql_enterprise_monitor | oracle | 8.0.29 |
| simatic_speech_assistant_for_machines | siemens | 1.2.1 |
1 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | Spring Framework | 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 |
| n/a | Spring Framework | 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 |
| Maven | org.springframework:spring-webmvc | 0, 5.3.0 |
| Maven | org.springframework.boot:spring-boot | 2.5.0, 2.6.0 |
| Maven | org.springframework:spring-webflux | 0, 5.3.0 |
Timeline
- Mar 26, 2022 VulnCheck XDB Entry (92 in total, the first dated here)
- Mar 31, 2022 PoC Published (9 in total, the first dated here)
- Apr 1, 2022 CVE Published
- Apr 2, 2022 EPSS Score (30 in total, the first dated here)
- Apr 4, 2022 CISA KEV Added
- Apr 4, 2022 VulnCheck KEV Exploitation (878 in total, the first dated here)
- Mar 17, 2026 Security Advisory (67 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (65 in total, the first dated here)
- Jul 5, 2026 Coalition ESS Score
- Oct 25, 2026 CrowdSec Sighting (37 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-22965
vulnetix vdb fixes CVE-2022-22965
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-22965/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- 20220401 Vulnerability in Spring Framework Affecting Cisco Products: March 2022 vendor-advisoryx_refsource_CISCO
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_MISC
- https://spring.io/blog/2022/03/31/spring-framework-rce-early-announcement#suggested-workarounds url
- https://nvd.nist.gov/vuln/detail/CVE-2022-22965 advisory
- https://github.com/advisories/GHSA-36p3-wjmg-h94x advisory
- https://github.com/spring-projects/spring-framework/commit/002546b3e4b8d791ea6acccb81eb3168f51abb15 patch
- https://github.com/spring-projects/spring-boot/releases/tag/v2.5.12 url
- https://github.com/spring-projects/spring-boot/releases/tag/v2.6.6 url
- https://github.com/spring-projects/spring-framework url
- https://github.com/spring-projects/spring-framework/releases/tag/v5.2.20.RELEASE url
- https://github.com/spring-projects/spring-framework/releases/tag/v5.3.18 url
- https://spring.io/blog/2022/03/31/spring-framework-rce-early-announcement url
- https://www.kb.cert.org/vuls/id/970766 url
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-22965 url
…and 1 more