Denial of Service Vulnerability in libspring-java: Spring MVC @RequestBody Parameter

libspring-java Updated 02 Oct 2025

Summary

18/11/2024
N/A
No i
Unrated
Not published

DEBIAN-CVE-2024-38828: Spring MVC controller methods with an @RequestBody byte[] method parameter are vulnerable to a DoS attack. Affects libspring-java versions 4.3.30-1 – 4.3.30-3. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

libspring-java is a Java library that provides support for the Spring Framework, particularly in building web applications. It enables developers to create robust and scalable web services using the Spring MVC architecture. This library is widely used due to its flexibility and comprehensive features, allowing for easy integration of various components in Java applications. However, it has been identified that certain controller methods using the @RequestBody annotation with byte[] parameters are susceptible to Denial of Service (DoS) attacks, which can severely impact application availability.

Vulnerability Detail

The vulnerability arises from the handling of byte[] parameters in Spring MVC controller methods annotated with @RequestBody. An attacker can exploit this by sending specially crafted requests that cause excessive resource consumption, leading to a denial of service. This can result in application downtime, degraded performance, and potential data loss, making it critical for developers to address this issue promptly.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, consider implementing input validation to restrict the size of incoming requests or using alternative methods for handling request bodies that do not involve byte[] parameters. This can help mitigate the risk of DoS attacks until a proper fix is applied.

Conclusion

The identified Denial of Service vulnerability in libspring-java poses significant risks to applications using the Spring MVC framework. It is crucial for developers to update their packages to the latest version to mitigate these risks. Additionally, implementing workarounds can provide temporary relief until a full resolution is achieved.

See every vulnerability recorded for libspring-java →

Share this vulnerability

FAQ

The vulnerability allows for Denial of Service attacks through the misuse of @RequestBody byte[] parameters in Spring MVC controller methods.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The vulnerability can lead to application downtime, degraded performance, and potential data loss due to resource exhaustion.

Yes, updating to the latest version of the libspring-java package will address the vulnerability.

Implement input validation to restrict request sizes or use alternative methods for handling request bodies as a temporary measure.

Related vulnerabilities

Recent vulnerabilities recorded for libspring-java.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback