VDB
Sign up
CRITICAL9.1

GHSA-c4q5-6c82-3qpw

Spring Security vulnerable to Authorization Bypass of Static Resources in WebFlux Applications

Quick fix

GHSA-c4q5-6c82-3qpw — org.springframework.security:spring-security-web: upgrade to the fixed version with the command below.

# pom.xml: bump <version>5.7.13</version> for org.springframework.security:spring-security-web

Details

Spring WebFlux applications that have Spring Security authorization rules on static resources can be bypassed under certain circumstances.

For this to impact an application, all of the following must be true:

* It must be a WebFlux application * It must be using Spring's static resources support * It must have a non-permitAll authorization rule applied to the static resources support

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.springframework.security:spring-security-web
Introduced in: 5.0.0Fixed in: 5.7.13
Fix# pom.xml: bump <version>5.7.13</version> for org.springframework.security:spring-security-web
Maven/org.springframework.security:spring-security-web
Introduced in: 5.8.0Fixed in: 5.8.15
Fix# pom.xml: bump <version>5.8.15</version> for org.springframework.security:spring-security-web
Maven/org.springframework.security:spring-security-web
Introduced in: 6.2.0Fixed in: 6.2.7
Fix# pom.xml: bump <version>6.2.7</version> for org.springframework.security:spring-security-web
Maven/org.springframework.security:spring-security-web
Introduced in: 6.0.0Fixed in: 6.0.13
Fix# pom.xml: bump <version>6.0.13</version> for org.springframework.security:spring-security-web
Maven/org.springframework.security:spring-security-web
Introduced in: 6.1.0Fixed in: 6.1.11
Fix# pom.xml: bump <version>6.1.11</version> for org.springframework.security:spring-security-web
Maven/org.springframework.security:spring-security-web
Introduced in: 6.3.0Fixed in: 6.3.4
Fix# pom.xml: bump <version>6.3.4</version> for org.springframework.security:spring-security-web

References