cve.bz

CVE-2024-38821 spring spring

9.1 criticalEPSS 1.7%Fix available

Critical (9.1) in spring spring. EPSS 1.7% estimated probability of exploitation activity in the next 30 days. Fixed in org.springframework.security:spring-security-web 5.7.13, 5.8.15, 6.0.13.

On this page
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

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
1.7% (unchanged from 1.7% a week ago; 1.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 78th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2024-10-31. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • org.springframework.security:spring-security-web (Maven): fixed in 5.7.13, 5.8.15, 6.2.7, 6.0.13, 6.1.11, 6.3.4

Ask an AI about this CVE

Show the promptExplain CVE-2024-38821 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-38821?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-38821?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-38821 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Springfrom 5.7.x before 5.7.13
Springfrom 5.8.x before 5.8.15
Springfrom 6.0.x before 6.0.13
Springfrom 6.1.x before 6.1.11
Springfrom 6.2.x before 6.2.7
Springfrom 6.3.x before 6.3.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-c4q5-6c82-3qpwMavenorg.springframework.security:spring-security-web>=5.0.0 <5.7.135.7.13
GHSA-c4q5-6c82-3qpwMavenorg.springframework.security:spring-security-web>=5.8.0 <5.8.155.8.15
GHSA-c4q5-6c82-3qpwMavenorg.springframework.security:spring-security-web>=6.2.0 <6.2.76.2.7
GHSA-c4q5-6c82-3qpwMavenorg.springframework.security:spring-security-web>=6.0.0 <6.0.136.0.13
GHSA-c4q5-6c82-3qpwMavenorg.springframework.security:spring-security-web>=6.1.0 <6.1.116.1.11
GHSA-c4q5-6c82-3qpwMavenorg.springframework.security:spring-security-web>=6.3.0 <6.3.46.3.4

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue is classified as a moderate severity vulnerability because it impacts only specific configurations in Spring WebFlux applications and does not compromise dynamic or core application functionality. To exploit this vulnerability, the application must not only be using Spring WebFlux but must also serve static resources with non-permitAll authorization rules. Furthermore, the breach affects only static resources—such as CSS, JavaScript, or images—that, while potentially sensitive, do not contain dynamic, user-specific data or functional endpoints that interact directly with business logic.

Red Hat JBoss Enterprise Application Platform (EAP/XP) is not affected by this issue, as they do not utilize Spring WebFlux or the associated static resources functionality, either at runtime or within distributed repositories. This architecture eliminates the conditions necessary for this vulnerability to be exploited.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat build of Apache Camel - HawtIO 4org.springframework/spring-webfluxNot affected
Red Hat Fuse 7org.springframework/spring-webfluxNot affected
Red Hat JBoss Enterprise Application Platform 7org.springframework/spring-webfluxNot affected
Red Hat JBoss Enterprise Application Platform 8org.springframework/spring-webfluxNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packorg.springframework/spring-webfluxNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-38821.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON