Spring applications that send HTTP client requests with an HTTP method derived from untrusted...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| SpringSpring Framework |
≥ 7.0.0, < 7.0.10.1→ 7.0.10.1 ≥ 6.2.0, < 6.2.21→ 6.2.21 ≥ 6.1.0, < 6.1.30→ 6.1.30 ≥ 6.0.0, < 6.0.33→ 6.0.33 ≥ 7.0.0, < 7.0.11→ 7.0.11 |
7.0.10.1 6.2.21 6.1.30 6.0.33 7.0.11 |
Original description The description as published by the source.
Spring 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:
The application is using RestClient , RestTemplate or WebClient with an ObservationRegistry configured
and Micrometer metrics enabled
The application uses the default ClientRequestObservationConvention
The application sends HTTP client requests with an HTTP method chosen by a remote user,
for example by forwarding the method of an incoming request to a downstream service
The configured ClientHttpRequestFactory or ClientHttpConnector accepts non-standard HTTP methods
When 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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web security@vmware.com
- web security@vmware.com
- web nvd.nist.gov
- web github.com