Vulnerability · Published Oct 28, 2024 · Assigned by vmware

CVE-2024-38821Authorization Bypass of Static Resources in WebFlux Applications

Critical 9.1

In plain English

A critical-severity resource allocation without limits in Spring from Spring. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 78% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)1.7%top 22.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.springframework.security:spring-security-web5.7.13GHSA-c4q5-6c82-3qpw
Mavenorg.springframework.security:spring-security-web5.8.15GHSA-c4q5-6c82-3qpw
Mavenorg.springframework.security:spring-security-web6.2.7GHSA-c4q5-6c82-3qpw
Mavenorg.springframework.security:spring-security-web6.0.13GHSA-c4q5-6c82-3qpw
Mavenorg.springframework.security:spring-security-web6.1.11GHSA-c4q5-6c82-3qpw
Mavenorg.springframework.security:spring-security-web6.3.4GHSA-c4q5-6c82-3qpw

Affected products (as reported)

VendorProductVersions
Spring Spring 5.7.x – before 5.7.135.8.x – before 5.8.156.0.x – before 6.0.136.1.x – before 6.1.116.2.x – before 6.2.76.3.x – before 6.3.4

Weakness: CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

References