VDB
Sign up
MEDIUM5.3

GHSA-6p4f-wcwh-5vvm

Spring MVC and WebFlux applications are vulnerable to Denial of Service attacks when resolving static resources

Quick fix

GHSA-6p4f-wcwh-5vvm — org.springframework:spring-webflux: upgrade to the fixed version with the command below.

# pom.xml: bump <version>7.0.7</version> for org.springframework:spring-webflux

Details

Spring MVC and WebFlux applications are vulnerable to Denial of Service attacks when resolving static resources.

More precisely, an application can be vulnerable when all the following are true:

* the application is using Spring MVC or Spring WebFlux * the application is serving static resources from the file system * the application is running on a Windows platform

When all the conditions above are met, the attacker can send malicious requests that are slow to resolve and that can keep HTTP connections in use. This can cause a Denial of Service on the application.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.springframework:spring-webflux
Introduced in: 7.0.0Fixed in: 7.0.7
Fix# pom.xml: bump <version>7.0.7</version> for org.springframework:spring-webflux
Maven/org.springframework:spring-webflux
Introduced in: 6.2.0Fixed in: 6.2.18
Fix# pom.xml: bump <version>6.2.18</version> for org.springframework:spring-webflux
Maven/org.springframework:spring-webflux
Introduced in: 6.1.0

No fixed version published yet for org.springframework:spring-webflux (maven). Pin to a known-safe version or switch to an alternative.

Maven/org.springframework:spring-webflux
Introduced in: 0

No fixed version published yet for org.springframework:spring-webflux (maven). Pin to a known-safe version or switch to an alternative.

Maven/org.springframework:spring-webmvc
Introduced in: 7.0.0Fixed in: 7.0.7
Fix# pom.xml: bump <version>7.0.7</version> for org.springframework:spring-webmvc
Maven/org.springframework:spring-webmvc
Introduced in: 6.2.0Fixed in: 6.2.18
Fix# pom.xml: bump <version>6.2.18</version> for org.springframework:spring-webmvc
Maven/org.springframework:spring-webmvc
Introduced in: 6.1.0

No fixed version published yet for org.springframework:spring-webmvc (maven). Pin to a known-safe version or switch to an alternative.

Maven/org.springframework:spring-webmvc
Introduced in: 0

No fixed version published yet for org.springframework:spring-webmvc (maven). Pin to a known-safe version or switch to an alternative.

References