CVE-2024-38821
CRITICAL9.1EPSS 13.1%Spring Security vulnerable to Authorization Bypass of Static Resources in WebFlux Applications
Published: 10/28/2024Modified: 2/4/2026
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
Affected packages (1)
- Maven/org.springframework.security:spring-security-webfrom 0, < 5.7.13
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-38821
- PATCHhttps://github.com/spring-projects/spring-security
- WEBhttps://github.com/spring-projects/spring-security/commit/0e257b56ce35402558a260ffa6b368982f9a7934
- WEBhttps://github.com/spring-projects/spring-security/commit/4ce7cde15599c0447163fd46bac616e03318bf5b
- WEBhttps://security.netapp.com/advisory/ntap-20250124-0006
- WEBhttps://spring.io/security/cve-2024-38821