GitHub Advisoryadvisory · Maven

GHSA-c4q5-6c82-3qpw Spring Security vulnerable to Authorization Bypass of Static Resources in WebFlux Applications

CRITICAL Published 2024-10-28 Modified 2026-08-31 Official page ↗
Aliases
CVE-2024-38821
Ecosystem
Maven
Packages
org.springframework.security:spring-security-web
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weaknesses
CWE-285, CWE-770
Reviewed
2024-10-28

Affected packages

• Maven org.springframework.security:spring-security-web: >= 5.0.0, < 5.7.13 → fixed in 5.7.13 • Maven org.springframework.security:spring-security-web: >= 5.8.0, < 5.8.15 → fixed in 5.8.15 • Maven org.springframework.security:spring-security-web: >= 6.2.0, < 6.2.7 → fixed in 6.2.7 • Maven org.springframework.security:spring-security-web: >= 6.0.0, < 6.0.13 → fixed in 6.0.13 • Maven org.springframework.security:spring-security-web: >= 6.1.0, < 6.1.11 → fixed in 6.1.11 • Maven org.springframework.security:spring-security-web: >= 6.3.0, < 6.3.4 → fixed in 6.3.4

Description

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

Related

Alias · CVE (1)

  • CVE-2024-38821 Spring WebFlux applications that have Spring Security authorization rules on static resources can be bypassed under certain circumstances. vulnerability

Weakness · CWE (2)

  • CWE-285 Improper Authorization weakness
  • CWE-770 Allocation of Resources Without Limits or Throttling weakness

References