Spring MVC and Spring WebFlux applications that resolve the requested media type from a query parameter
may be vulnerable to a denial of service attack.
Specifically, an application is vulnerable when all the following conditions are met:
The application is using Spring MVC or Spring WebFlux
The application enables parameter-based content negotiation (for example, the format query parameter)
For Spring MVC applications, content negotiation is not restricted to registered extensions only ( useRegisteredExtensionsOnly )
When all conditions are met, an attacker can send crafted requests that cause the application to consume
memory without limit, eventually leading to a denial of service.