In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.
Start learningUpgrade org.springframework.ws:spring-ws-core to version 5.0.4 or higher.
org.springframework.ws:spring-ws-core is a product of the Spring community focused on creating document-driven Web services. Spring Web Services aims to facilitate contract-first SOAP service development, allowing for the creation of flexible web services using one of the many ways to manipulate XML payloads.
Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the SaajSoapMessageFactory, AxiomSoapMessageFactory, and DomPoxMessageFactory classes, which read an incoming message's InputStream into the XML parser without bounding the number of bytes consumed. An unauthenticated attacker can exhaust memory by sending an arbitrarily large message to any endpoint. No non-default configuration is required, as this is the default behavior of every message factory.
This vulnerability can be avoided by capping the request body size at a reverse proxy or servlet container in front of the application.