CVE-2024-38821
JSON

9.1critical

Authorization Bypass of Static Resources in WebFlux Applications

Severity
9.1critical CVSS:3.1 by vmware
Exploit likelihood
1.74% (higher than 78% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
vmware
Also known as
GHSA-c4q5-6c82-3qpw

Description

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

Affected

Product or packageVersionsReported by
Spring Securityfrom 5.7.x before 5.7.13, from 5.8.x before 5.8.15, from 6.0.x before 6.0.13, from 6.1.x before 6.1.11, from 6.2.x before 6.2.7, from 6.3.x before 6.3.4CVE List
spring webfluxfrom 5.7.x before 5.7.13, from 5.8x before 5.8.15, from 6.0x before 6.0.13, from 6.1x before 6.1.11, from 6.2x before 6.2.7, from 6.3x before 6.3.4CVE List
org.springframework.security:spring-security-web (Maven)from 5.0.0 before 5.7.13, from 5.8.0 before 5.8.15, from 6.2.0 before 6.2.7, from 6.0.0 before 6.0.13, from 6.1.0 before 6.1.11, from 6.3.0 before 6.3.4GitHub Advisory Database

All scores

vmware9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
GitHub9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
GitHubcritical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Classification

CWE-285CWE-770

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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

NVD (es)

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

References

Sources

SourceRecordLicence
CVE ListCVE-2024-38821 changed 2025-01-24CVE Terms of Use
GitHub Advisory DatabaseGHSA-c4q5-6c82-3qpw changed 2026-09-10CC-BY-4.0
NVDCVE-2024-38821 changed 2026-06-17Public domain