Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreSpring applications that send HTTP client requests with an HTTP method derived from untrusted input may be vulnerable to a denial of service attack.
Specifically, an application is vulnerable when all the following conditions are met:
RestClient, RestTemplate or WebClient with an ObservationRegistry configured
and Micrometer metrics enabledClientRequestObservationConventionClientHttpRequestFactory or ClientHttpConnector accepts non-standard HTTP methodsWhen all conditions are met, an attacker can send many requests with distinct HTTP methods
that each create a new http.client.requests metric, eventually exhausting the application memory.
Spring Framework:
| Fix version | Availability |
|---|---|
| 7.0.11 | OSS |
| 7.0.10.1 | Enterprise Support Only |
| 6.2.21 | Enterprise Support Only |
| 6.1.30 | Enterprise Support Only |
| 6.0.33 | Enterprise Support Only |
No further mitigation steps are necessary.
This issue was reported by YLChen-007.
To report a security vulnerability for a project within the Spring portfolio, see the Security Policy