CVE-2022-22965: Spring4Shell
- Vendors
- Veritas TechnologiesOracle CorporationCisco SystemsSiemensVMware
Spring4Shell is a remote code execution vulnerability in Spring Framework's request data-binding mechanism affecting certain Spring MVC and Spring WebFlux applications running on JDK 9 or later. Affected releases include Spring Framework 5.3.0–5.3.17, 5.2.0–5.2.19, and older unsupported releases. Insufficient restrictions on bound object properties allow traversal through Java module and class-loader properties, bypassing earlier protections against class-loader access. In the demonstrated Apache Tomcat exploit, attackers manipulate AccessLogValve configuration to write a server-executable web shell into a web-accessible application directory. This exploit requires a WAR deployment; default Spring Boot executable JAR deployments are not vulnerable to that specific exploit. The underlying vulnerability is broader than this exploitation path.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows unauthenticated remote code execution with the privileges of the application-server process, compromising application and accessible host confidentiality, integrity, and availability. Attackers can access or modify data, execute operating-system commands, install malware, and disrupt services. In-the-wild exploitation has deployed Mirai botnet malware. Further compromise depends on the application process's permissions and access to other resources; administrative privileges are not inherently granted.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrading is impossible, configure WebDataBinder disallowedFields to block dangerous class-property binding, including class., Class., .class., and .Class. patterns. Global @ControllerAdvice settings can be overridden by local @InitBinder methods; the more fail-safe workaround applies restrictions after all binder initialization through a customized request-mapping handler adapter. Restrict network access to affected applications and remove unnecessary write permissions to web-served executable directories. WAF filtering is supplementary, not a replacement for patching: encoding and normalization discrepancies can bypass some protections. Monitor for unexpected web shells, application-server child shells, and unauthorized changes to logging configuration.
Remediation
Patch, then assume compromise.
Upgrade Spring Framework to 5.3.18 or later in the 5.3 branch, or 5.2.20 or later in the 5.2 branch; preferably migrate to a currently supported, patched release. For Spring Boot-managed dependencies, the corresponding historical fixed releases are 2.6.6 and 2.5.12. For third-party products embedding Spring, install the vendor's affected-product update rather than independently replacing bundled dependencies. Apache Tomcat versions 10.0.20, 9.0.62, and 8.5.78 introduced protection against the demonstrated Tomcat exploitation path, but updating Tomcat does not replace remediation of the underlying Spring vulnerability.
Exploits
36 exploits validated by Mallory's analysis. Hidden: 23 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries. Showing the 25 most capable, earliest first.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2022-22965 exploited in the wild?
- Yes. As of Nov 30, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Apr 4, 2022.
- Is there a public exploit for CVE-2022-22965?
- Yes. Mallory tracks 36 public exploits or proofs of concept for CVE-2022-22965, the earliest disclosed Mar 30, 2022.
- Is there a patch for CVE-2022-22965?
- Upgrade Spring Framework to 5.3.18 or later in the 5.3 branch, or 5.2.20 or later in the 5.2 branch; preferably migrate to a currently supported, patched release. For Spring Boot-managed dependencies, the corresponding historical fixed releases are 2.6.6 and 2.5.12.
- What products are affected by CVE-2022-22965?
- VMware Spring Framework, Veritas Technologies Access Appliance, Oracle Corporation Commerce Platform, Oracle Corporation Communications Cloud Native Core Automated Test Suite, Oracle Corporation Communications Cloud Native Core Binding Support Function, and at least 33 more.
- How severe is CVE-2022-22965?
- CVE-2022-22965 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 99.6% (100th percentile) as of Nov 30, 2026.
Recent activity
64 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.