CVE-2018-15756: DoS Attack via Range Requests
Pivotal Spring Framework is vulnerable to a denial of service, caused by improper handling of range request by the ResourceHttpRequestHandler. By adding a range header with a high number of ranges, a remote attacker could exploit this vulnerability to cause a denial of service condition.
Other sources
Spring Framework, version 5.1, versions 5.0.x prior to 5.0.10, versions 4.3.x prior to 4.3.20, and older unsupported versions on the 4.2.x branch provide support for range requests when serving static resources through the ResourceHttpRequestHandler, or starting in 5.0 when an annotated controller returns an org.springframework.core.io.Resource. A malicious user (or attacker) can add a range header with a high number of ranges, or with wide ranges that overlap, or both, for a denial of service attack.
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
maven/org.springframework:spring-coreto a version that resolves this vulnerability.Fixed in 4.3.20.RELEASE - Upgrade
Upgrade
maven/org.springframework:spring-coreto a version that resolves this vulnerability.Fixed in 5.0.10.RELEASE - Upgrade
Upgrade
maven/org.springframework:spring-coreto a version that resolves this vulnerability.Fixed in 5.1.1.RELEASE - Upgrade
Upgrade
redhat/springframeworkto a version that resolves this vulnerability.Fixed in 5.0.10 - Upgrade
Upgrade
redhat/springframeworkto a version that resolves this vulnerability.Fixed in 4.3.20 - Upgrade
Upgrade
Pivotal Spring Frameworkto a version that resolves this vulnerability.Fixed in 5.0.10 - Upgrade
Upgrade
Pivotal Spring Frameworkto a version that resolves this vulnerability.Fixed in 4.3.20
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2018-15756?
CVE-2018-15756 has been classified as a high severity vulnerability due to its potential to cause denial of service.
How do I fix CVE-2018-15756?
To fix CVE-2018-15756, upgrade your Spring Framework to version 4.3.20 or 5.0.10, or later.
What types of systems are affected by CVE-2018-15756?
CVE-2018-15756 affects various systems utilizing vulnerable versions of the Pivotal Spring Framework.
Is there a workaround for CVE-2018-15756?
While there is no direct workaround, limiting the range requests on your servers can help mitigate the impact.
Can CVE-2018-15756 be exploited externally?
Yes, CVE-2018-15756 can be exploited by remote attackers using specially crafted range headers.