Denial-of-Service Vulnerability in libspring-java Package

libspring-java Updated 02 Oct 2025

Summary

23/03/2023
N/A
No i
Unrated
Not published

DEBIAN-CVE-2023-20861: In Spring Framework versions 6.0.0 - 6.0.6, 5.3.0 - 5.3.25, 5.2.0.RELEASE - 5.2.22.RELEASE, and older unsupported versions, it is possible for a user to provide a specially crafted SpEL expression that may cause a denial... 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The libspring-java package is a core component of the Spring Framework, which is widely used for building enterprise-level applications in Java. It provides comprehensive infrastructure support for developing Java applications, including features like dependency injection, transaction management, and aspect-oriented programming. However, certain versions of this package are susceptible to a vulnerability that can lead to denial-of-service (DoS) conditions, impacting application availability.

Vulnerability Detail

In Spring Framework versions 6.0.0 - 6.0.6, 5.3.0 - 5.3.25, 5.2.0.RELEASE - 5.2.22.RELEASE, and older unsupported versions, it is possible for a user to provide a specially crafted Spring Expression Language (SpEL) expression. This crafted expression can exploit the framework's evaluation mechanism, potentially leading to a denial-of-service (DoS) condition. The vulnerability arises from improper handling of these expressions, which can consume excessive resources and disrupt normal application operations.

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, you can restrict the use of SpEL expressions in your application until you can upgrade to a secure version. This can be done by validating and sanitizing user inputs that may be processed as SpEL expressions.

Conclusion

The libspring-java package has a critical vulnerability that can lead to denial-of-service conditions when specific SpEL expressions are exploited. It is crucial to update to a patched version to ensure the security and availability of your applications. Implementing workarounds and monitoring for vulnerabilities using tools like Vulert can further enhance your security posture.

See every vulnerability recorded for libspring-java →

Share this vulnerability

FAQ

The vulnerability allows for denial-of-service conditions through specially crafted SpEL expressions.

Affected versions include 6.0.0 - 6.0.6, 5.3.0 - 5.3.25, and 5.2.0.RELEASE - 5.2.22, along with older unsupported versions.

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

If immediate updating is not possible, consider implementing input validation and sanitization to mitigate the risk of exploitation.

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