Hexret
CVE-2022-22965critical 9.8PoC available

Spring4Shell: data binding reaches the ClassLoader

A denylist meant to keep classLoader unbindable only fires on the exact reflection Class type, so a nested bind reaching a ClassLoader through another type slips past it and drives arbitrary code execution.

Product
Spring Framework (spring-beans / Spring MVC, Spring WebFlux)
Vendor
VMware (Spring)
Affected
5.3.0 to 5.3.17 and 5.2.0 to 5.2.19 (and older, unsupported branches); exploitable on JDK 9+ deployed as a WAR on Apache Tomcat
Fixed in
5.3.18 and 5.2.20
Weakness
CWE-94
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
1 Apr 2022

Practice this CVE, free

Classified as

References

Related CVEs