{"id":"CVE-2024-38821","aliases":["CVE-2024-38821","GHSA-c4q5-6c82-3qpw"],"related":[],"kind":"vulnerability","state":"published","title":"Authorization Bypass of Static Resources in WebFlux Applications","summary":"Spring WebFlux applications that have Spring Security authorization rules on static resources can be bypassed under certain circumstances.\n\nFor this to impact an application, all of the following must be true:\n\n  *  It must be a WebFlux application\n  *  It must be using Spring's static resources support\n  *  It must have a non-permitAll authorization rule applied to the static resources support","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Spring WebFlux applications that have Spring Security authorization rules on static resources can be bypassed under certain circumstances.\n\nFor this to impact an application, all of the following must be true:\n\n  *  It must be a WebFlux application\n  *  It must be using Spring's static resources support\n  *  It must have a non-permitAll authorization rule applied to the static resources support","source":"cvelist"},{"lang":"es","text":"Las aplicaciones WebFlux de Spring que tienen reglas de autorización de Spring Security sobre recursos estáticos pueden omitirse en determinadas circunstancias. Para que esto afecte a una aplicación, deben cumplirse todas las condiciones siguientes: * Debe ser una aplicación WebFlux * Debe utilizar el soporte de recursos estáticos de Spring * Debe tener una regla de autorización que no sea permitAll aplicada al soporte de recursos estáticos","source":"nvd"}],"published":"2024-10-28T07:06:13.404Z","modified":"2026-09-10T03:50:19.827Z","severity":{"scorer":"vmware","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"vmware","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"CRITICAL"}],"cwes":["CWE-285","CWE-770"],"affected":[{"ranges":[{"type":"Enterprise Support Only","introduced":"5.7.x","fixed":"5.7.13","status":"affected"},{"type":"Enterprise Support Only","introduced":"5.8.x","fixed":"5.8.15","status":"affected"},{"type":"Enterprise Support Only","introduced":"6.0.x","fixed":"6.0.13","status":"affected"},{"type":"Enterprise Support Only","introduced":"6.1.x","fixed":"6.1.11","status":"affected"},{"type":"OSS","introduced":"6.2.x","fixed":"6.2.7","status":"affected"},{"type":"OSS","introduced":"6.3.x","fixed":"6.3.4","status":"affected"}],"vendor":"Spring","product":"Spring","package":"Spring Security","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"5.7.x","fixed":"5.7.13","status":"affected"},{"type":"custom","introduced":"5.8x","fixed":"5.8.15","status":"affected"},{"type":"custom","introduced":"6.0x","fixed":"6.0.13","status":"affected"},{"type":"custom","introduced":"6.1x","fixed":"6.1.11","status":"affected"},{"type":"custom","introduced":"6.2x","fixed":"6.2.7","status":"affected"},{"type":"custom","introduced":"6.3x","fixed":"6.3.4","status":"affected"}],"vendor":"spring","product":"webflux","cpe":"cpe:2.3:a:spring:webflux:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.7.13"}],"ecosystem":"Maven","package":"org.springframework.security:spring-security-web","purl":"pkg:maven/org.springframework.security/spring-security-web","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.8.0","status":"affected","fixed":"5.8.15"}],"ecosystem":"Maven","package":"org.springframework.security:spring-security-web","purl":"pkg:maven/org.springframework.security/spring-security-web","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.2.0","status":"affected","fixed":"6.2.7"}],"ecosystem":"Maven","package":"org.springframework.security:spring-security-web","purl":"pkg:maven/org.springframework.security/spring-security-web","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.0.0","status":"affected","fixed":"6.0.13"}],"ecosystem":"Maven","package":"org.springframework.security:spring-security-web","purl":"pkg:maven/org.springframework.security/spring-security-web","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.1.0","status":"affected","fixed":"6.1.11"}],"ecosystem":"Maven","package":"org.springframework.security:spring-security-web","purl":"pkg:maven/org.springframework.security/spring-security-web","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.3.0","status":"affected","fixed":"6.3.4"}],"ecosystem":"Maven","package":"org.springframework.security:spring-security-web","purl":"pkg:maven/org.springframework.security/spring-security-web","source":"ghsa"}],"references":[{"url":"https://spring.io/security/cve-2024-38821","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20250124-0006/","tags":[],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38821","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/spring-projects/spring-security/commit/0e257b56ce35402558a260ffa6b368982f9a7934","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/spring-projects/spring-security/commit/4ce7cde15599c0447163fd46bac616e03318bf5b","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/spring-projects/spring-security/commit/b4f27777556c157ec5689c0769322c90be984514","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/spring-projects/spring-security","tags":["package"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20250124-0006","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"vmware","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2024-10-31T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-38821","url":"https://www.cve.org/CVERecord?id=CVE-2024-38821","licence":"CVE Terms of Use","modified":"2025-01-24T20:03:04.932Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c4q5-6c82-3qpw","url":"https://github.com/advisories/GHSA-c4q5-6c82-3qpw","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:19.827Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-38821","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38821","licence":"Public domain","modified":"2026-06-17T07:41:06.613Z"}],"updatedAt":"2026-11-25T22:58:47.382Z","epss":{"score":0.01741,"percentile":0.78419,"date":"2026-12-01T12:00:22.000Z"}}