ADVISORIES

GitHub Advisory Database

GHSA-c4q5-6c82-3qpw

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

Critical CVE-2024-38821

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

Affected packages

EcosystemPackageAffected versions
Mavenorg.springframework.security:spring-security-web
From 5.0.0 before 5.7.13 (fixed in 5.7.13)
Mavenorg.springframework.security:spring-security-web
From 5.8.0 before 5.8.15 (fixed in 5.8.15)
Mavenorg.springframework.security:spring-security-web
From 6.2.0 before 6.2.7 (fixed in 6.2.7)
Mavenorg.springframework.security:spring-security-web
From 6.0.0 before 6.0.13 (fixed in 6.0.13)
Mavenorg.springframework.security:spring-security-web
From 6.1.0 before 6.1.11 (fixed in 6.1.11)
Mavenorg.springframework.security:spring-security-web
From 6.3.0 before 6.3.4 (fixed in 6.3.4)

References