CVE-2024-38821
CRITICAL 9.1CVSS 3.1Spring Security vulnerable to Authorization Bypass of Static Resources in WebFlux Applications
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
- Published
- 28 Oct 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security@vmware.com
- NVD status
- Deferred
- Weakness
- CWE-285CWE-770
- Also known as
- GHSA-c4q5-6c82-3qpw
- Sources
- NVDJSONOSV GHSA-c4q5-6c82-3qpwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | 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 | |
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | org.springframework.security:spring-security-web | >= 5.0.0, < 5.7.13 | 5.7.13 |
| OSV | Maven | org.springframework.security:spring-security-web | >= 5.8.0, < 5.8.15 | 5.8.15 |
| OSV | Maven | org.springframework.security:spring-security-web | >= 6.2.0, < 6.2.7 | 6.2.7 |
| OSV | Maven | org.springframework.security:spring-security-web | >= 6.0.0, < 6.0.13 | 6.0.13 |
| OSV | Maven | org.springframework.security:spring-security-web | >= 6.1.0, < 6.1.11 | 6.1.11 |
| OSV | Maven | org.springframework.security:spring-security-web | >= 6.3.0, < 6.3.4 | 6.3.4 |
References
- https://spring.io/security/cve-2024-38821 · WEB
- https://security.netapp.com/advisory/ntap-20250124-0006/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-38821 · ADVISORY
- https://github.com/spring-projects/spring-security/commit/0e257b56ce35402558a260ffa6b368982f9a7934 · WEB
- https://github.com/spring-projects/spring-security/commit/4ce7cde15599c0447163fd46bac616e03318bf5b · WEB
- https://github.com/spring-projects/spring-security/commit/b4f27777556c157ec5689c0769322c90be984514 · WEB
- https://github.com/spring-projects/spring-security · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 28 Oct 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 28 Oct 2024)