CVE-2024-38821Spring
Critical 9.1 No auth needed
Follow: this CVE · Spring · Spring We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Oct 28, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-770
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
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
- Apply the vendor's security update for Spring.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.springframework.security:spring-security-web |
≥ 5.0.0 < 5.7.13 |
5.7.13 |
— |
| Maven | org.springframework.security:spring-security-web |
≥ 5.8.0 < 5.8.15 |
5.8.15 |
— |
| Maven | org.springframework.security:spring-security-web |
≥ 6.2.0 < 6.2.7 |
6.2.7 |
— |
| Maven | org.springframework.security:spring-security-web |
≥ 6.0.0 < 6.0.13 |
6.0.13 |
— |
| Maven | org.springframework.security:spring-security-web |
≥ 6.1.0 < 6.1.11 |
6.1.11 |
— |
| Maven | org.springframework.security:spring-security-web |
≥ 6.3.0 < 6.3.4 |
6.3.4 |
— |
Per OSV / GitHub Advisories (GHSA-c4q5-6c82-3qpw). Check the version in your lockfile before upgrading.
Affected products
- Spring · Spring
- spring · webflux
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.