HighGHSA-ffvq-7w96-97p7CVE-2018-15756

Denial of Service in Spring Framework

Published 15 Jun 2020 · Updated 1 Dec 2024

Is your project on an affected org.springframework:spring-core?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
>=5.1.0.RELEASE <5.1.1.RELEASE
Fixed in
5.1.1.RELEASE
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.springframework:spring-core -DdepVersion=5.1.1.RELEASE -DforceVersion=true
Affected
>=5.0.0.RELEASE <5.0.10.RELEASE
Fixed in
5.0.10.RELEASE
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.springframework:spring-core -DdepVersion=5.0.10.RELEASE -DforceVersion=true
Affected
>=4.2.0.RELEASE <4.3.20.RELEASE
Fixed in
4.3.20.RELEASE
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.springframework:spring-core -DdepVersion=4.3.20.RELEASE -DforceVersion=true

Details

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. This vulnerability affects applications that depend on either spring-webmvc or spring-webflux. Such applications must also have a registration for serving static resources (e.g. JS, CSS, images, and others), or have an annotated controller that returns an org.springframework.core.io.Resource. Spring Boot applications that depend on spring-boot-starter-web or spring-boot-starter-webflux are ready to serve static resources out of the box and are therefore vulnerable.

Is GHSA-ffvq-7w96-97p7 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.springframework:spring-core, and gives you the command that fixes it.

More advisories for org.springframework:spring-core

  • LowCVE-2026-41848Spring Framework Denial of Service via AntPathMatcher · 9 Jun 2026
  • HighCVE-2025-41249Spring Framework annotation detection mechanism may result in improper authorization · 16 Sept 2025
  • HighCVE-2024-22233Spring Framework server Web DoS Vulnerability · 22 Jan 2024
  • MediumCVE-2021-22096Improper Output Neutralization for Logs in Spring Framework · 24 May 2022
  • HighCVE-2011-2730Improper Neutralization of Directives in Dynamically Evaluated Code in Spring Framework · 17 May 2022
  • MediumCVE-2011-2894Spring Framework and Spring Security vulnerable to Deserialization of Untrusted Data · 14 May 2022
All 19 advisories for org.springframework:spring-core

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.