CVE-2024-38821: Spring
Critical severity, CVSS 9.1. EPSS: 2.1% probability of exploitation activity in the next 30 days.
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
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Spring, from 5.7, before 5.7.13: fixed in 5.7.13
- Spring, from 5.8, before 5.8.15: fixed in 5.8.15
- Spring, from 6.0, before 6.0.13: fixed in 6.0.13
- Spring, from 6.1, before 6.1.11: fixed in 6.1.11
- Spring, from 6.2, before 6.2.7: fixed in 6.2.7
- Spring, from 6.3, before 6.3.4: fixed in 6.3.4
- Spring Webflux, from 5.7, before 5.7.13: fixed in 5.7.13
- Spring Webflux, from 5.8x, before 5.8.15: fixed in 5.8.15
- Spring Webflux, from 6.0x, before 6.0.13: fixed in 6.0.13
- Spring Webflux, from 6.1x, before 6.1.11: fixed in 6.1.11
- and 2 more
Affected products
- Spring Spring: from 5.7, before 5.7.13 (fixed in 5.7.13); from 5.8, before 5.8.15 (fixed in 5.8.15); from 6.0, before 6.0.13 (fixed in 6.0.13); from 6.1, before 6.1.11 (fixed in 6.1.11); from 6.2, before 6.2.7 (fixed in 6.2.7); from 6.3, before 6.3.4 (fixed in 6.3.4)
- Spring Webflux: from 5.7, before 5.7.13 (fixed in 5.7.13); from 5.8x, before 5.8.15 (fixed in 5.8.15); from 6.0x, before 6.0.13 (fixed in 6.0.13); from 6.1x, before 6.1.11 (fixed in 6.1.11); from 6.2x, before 6.2.7 (fixed in 6.2.7); from 6.3x, before 6.3.4 (fixed in 6.3.4)
Affected packages
Published 2024-10-28. Last modified 2026-06-17.