Cyber Resilience

CVE-2024-38821

Critical

Published: 28 October 2024

Published
28 October 2024
Modified
15 April 2026
KEV Added
Patch
CVSS Score v3.1 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS Score 0.1309 94.3th percentile
Risk Priority 26 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-38821 is a critical-severity Allocation of Resources Without Limits or Throttling (CWE-770) vulnerability in Spring WebFlux (inferred from references). Its CVSS base score is 9.1 (Critical).

Operationally, ranked in the top 5.7% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

Deeper analysis

CVE-2024-38821 affects Spring WebFlux applications that use Spring's static resources support together with Spring Security authorization rules. The flaw permits bypass of non-permitAll authorization constraints applied to those resources when all three conditions are met: the application must be built on WebFlux, must rely on Spring's static-resource handling, and must enforce a restrictive authorization rule on the static paths.

An unauthenticated remote attacker can exploit the issue over the network to access protected static content, resulting in high-impact disclosure or modification of sensitive files while leaving availability unaffected. The CVSS 9.1 rating reflects the absence of required credentials or user interaction and the complete compromise of confidentiality and integrity.

The Spring advisory at spring.io/security/cve-2024-38821 and the related NetApp notice describe the conditions required for exposure and direct users to updated Spring Security and Spring Framework releases that correct the authorization enforcement for static resources.

EPSS remains flat at 0.1309 with no material increase after disclosure.

EU & UK References

Vulnerability details

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…

more

must be using Spring's static resources support * It must have a non-permitAll authorization rule applied to the static resources support

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

Spring
WebFlux
inferred from references and description; NVD did not file a CPE for this CVE

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-770

This control implements explicit throttling on session allocation, addressing the weakness of allocating resources without limits.

addresses: CWE-770

Plan testing exercises resource allocation limits and throttling during simulated failures, directly addressing weaknesses that allow unbounded resource use.

addresses: CWE-770

Contingency plan updates ensure recovery strategies address unbounded resource allocation, making it harder for attackers to exploit lack of throttling to cause prolonged outages.

addresses: CWE-770

Provides continuity when unbounded resource allocation at the primary site leads to exhaustion and downtime.

addresses: CWE-770

Alternate services allow operations to continue when primary allocation of resources lacks limits or throttling.

addresses: CWE-770

Explicit planning of security-related actions requires defining limits, windows, and resource allocations, making allocation without throttling far less likely.

addresses: CWE-770

Measures of performance include tracking allocation behavior and throttling effectiveness, reducing the window for resource exhaustion attacks.

addresses: CWE-770

Imposes an inactivity-based limit on network resource allocation, throttling the number of concurrently held connections.

References