CVE-2024-38828 CVE-2024-38828: DoS via Spring MVC controller method with byte[] parameter
Attackers can cause denial of service in applications using Spring MVC controllers with byte array request bodies.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-38828?
CVE-2024-38828 is a medium-severity denial of service vulnerability in Spring, published on 18 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Spring MVC controller methods with an @RequestBody byte[] method parameter are vulnerable to a DoS attack.
Weakness: CWE-400
Which versions are affected by CVE-2024-38828?
2 open source packages ship an affected version, including org.springframework:spring-webmvc.
| Package | Affected | Fixed in |
|---|---|---|
org.springframework:spring-webmvc Maven | From 5.3.0 | 5.3.42 |
org.springframework:spring-webmvc Maven | From 5.3.0 | 5.3.42 |
How do I fix CVE-2024-38828?
Upgrade org.springframework:spring-webmvc to 5.3.42 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2024-38828 being exploited?
There is no known exploitation of CVE-2024-38828 in the wild and no public exploit code.
Public exploit code: 3 proofs of concept on GitHub.
Sources
Also known as CLEANSTART-2026-NS04003, CLEANSTART-2026-UO20000, CLSA-2025-1743120048, CLSA-2026-1782954026, DEBIAN-CVE-2024-38828, ECHO-3f20-b6da-0d15 and 3 more.