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.
https://www.cisa.gov/news-events/cybersecurity-advisories/aa24-207a
https://blog.aquasec.com/threat-alert-apache-applications-targeted-by-stealthy-attacker
https://www.tenable.com/cyber-exposure/tenable-2022-threat-landscape-report
https://www.tenable.com/blog/oracle-july-2022-critical-patch-update-addresses-188-cves
https://www.oracle.com/security-alerts/cpujul2022.html
https://www.oracle.com/security-alerts/cpuapr2022.html
https://tanzu.vmware.com/security/cve-2022-22965
https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0005
https://cert-portal.siemens.com/productcert/pdf/ssa-254054.pdf
http://packetstormsecurity.com/files/166713/Spring4Shell-Code-Execution.html