CVE-2024-38821: Spring 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
References
- github.com/advisories/GHSA-c4q5-6c82-3qpw
- github.com/spring-projects/spring-security
- github.com/spring-projects/spring-security/commit/0e257b56ce35402558a260ffa6b368982f9a7934
- github.com/spring-projects/spring-security/commit/4ce7cde15599c0447163fd46bac616e03318bf5b
- nvd.nist.gov/vuln/detail/CVE-2024-38821
- spring.io/security/cve-2024-38821
Detect and mitigate CVE-2024-38821 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →