Spring Boot helps you to create Spring-powered, production-grade applications and services with absolute minimum fuss.
Harden deserialization in HttpRestartServer
While remote code execution is a feature of remote DevTools, hardening of the deserialization of ClassLoaderFiles is not without benefit. Not least, it should prevent false-positive reports from AI-based security scanners that look at the code in isolation without understanding the full context of the feature. It should be noted that this hardening in no way protects against remote code execution and the use of remote DevTools remains an opt-in feature that should only be enabled in a trusted setting and secured with a sufficiently complex secret. It remains the case that an attacker who compromises the secret and has network access to the remote application can achieve RCE by uploading a serialized ClassLoaderFiles payload that adds malicious code and/or resources to the application. Closes gh-50272
A
Andy Wilkinson committed
001171f8eb80caaa8acd5160aef0b0f5ca24f81b
Parent: 03eb75f