Bypassing Authorization Rules in Spring WebFlux Applications

Patch this weekData theft and tampering over the network, no login needed.
9.1CRITICAL

CVE-2024-38821

Key Information:

Vendor

Spring

Status
Spring
CVE ID
CVE ID:
CVE-2024-38821
Vendor
CVE Published:
28 October 2024
Fixed in
Fixed in:
5.7.13, 5.8.15, 6.0.13 +3 more

Timeline

Exploit known 1 day after it was published

  • 🟑

    Public PoC available

  • πŸ‘Ύ

    Exploit known to exist

  • πŸ“°

    First article discovered by The Register

  • Vulnerability published

  • Vulnerability Reserved

Badges

πŸ‘Ύ Exploit Exists🟑 Public PoCπŸ“° News Worthy

How risky is it?

  • Yes: Works over the network, no login needed
  • Yes: Public exploit code (1 proof-of-concept)
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Update to a fixed version

Several version ranges are affected; the full list is under Affected Version(s).

Install the Spring release that fixes your version line, or later:

5.7.135.8.156.0.136.1.116.2.76.3.4
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Spring. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Look for signs of compromise

Exploit code is public, so check logs on exposed Spring systems for unusual requests or new processes from before you patched. The 1 public proof-of-concept show what an attack looks like.

4Why it's rated "Patch this week"
  • Exploit code is public, so attacks are easy to copy.
  • It can be exploited remotely without credentials.
  • Its CVSS severity is critical (9.1).

What is CVE-2024-38821?

CVE-2024-38821 is a vulnerability in Spring WebFlux applications that allows attackers to bypass authorization rules on static resources. This flaw occurs when a WebFlux application uses Spring's static resources support and has a non-permitAll authorization rule applied. An attacker can exploit this vulnerability to access restricted static resources without proper authorization.

Potential Impact of CVE-2024-38821

  1. Bypass of security controls: An attacker can access static resources that should be protected by authorization rules, potentially exposing sensitive information.

Affected Version(s)

Spring 5.7.x

Spring 5.7.x < 5.7.13

Spring 5.8.x < 5.8.15

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

News Articles

CVE-2024-38821 Archives

Solutions Solutions Keeping your systems up 100% of the time requires live patching. Our solutions will align strongly with your risk, compliance, and operational uptime...

CVE-2024-38821: Spring Security Patch Update & How TuxCare Users Are Protected

CVE-2024-38821: Stay secure with Spring Security's latest patch and TuxCare's support, ensuring protection for your Spring applications

favicon imageThe Register

Admins Spring into action over latest open source vuln

If you're running an application built using the Spring development framework, now is a good time to check it's fully updated – a new, critical-severity vulnerability has just been disclosed. Tracked as...

References

Document ID Injection in TypesenseVectorStore

CVE-2026-59415
SpringSpring Ai10CRITICAL

Stream Corruption in Spring Framework

CVE-2026-47890
SpringSpring Framework9.8CRITICAL

LDAP Vulnerability in Spring Security

CVE-2026-59270
SpringSpring Security9.4CRITICAL
View more Spring vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
9.1
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
.