Denial-of-Service Vulnerability in libspring-java Package

libspring-java Updated 02 Oct 2025

Summary

13/04/2023
N/A
No i
Unrated
Not published

DEBIAN-CVE-2023-20863: In spring framework versions prior to 5.2.24 release+ ,5.3.27+ and 6.0.8+ , it is possible for a user to provide a specially crafted SpEL expression that may cause a denial-of-service (DoS) condition. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

libspring-java is a library that provides support for the Spring Framework, which is widely used for building Java applications. It offers features such as dependency injection, aspect-oriented programming, and transaction management. This package is crucial for developers who rely on Spring for creating robust and scalable applications. However, it has been identified to have a vulnerability that could lead to denial-of-service conditions if exploited.

Vulnerability Detail

In spring framework versions prior to 5.2.24 release+, 5.3.27+, and 6.0.8+, it is possible for a user to provide a specially crafted SpEL (Spring Expression Language) expression that may cause a denial-of-service (DoS) condition. This vulnerability arises from improper handling of SpEL expressions, which can lead to excessive resource consumption, ultimately affecting the availability of the application using the library.

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 workaround, avoid using untrusted SpEL expressions in your application. Implement input validation to ensure that only safe expressions are processed, thereby reducing the risk of triggering the vulnerability.

Conclusion

The libspring-java package has a vulnerability that can lead to denial-of-service conditions through the exploitation of SpEL expressions. It is crucial to update to a patched version to secure your application and implement best practices for input validation.

See every vulnerability recorded for libspring-java →

Share this vulnerability

FAQ

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

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

Versions prior to 5.2.24, 5.3.27, and 6.0.8 are vulnerable to this issue.

Update your libspring-java package to the latest patched version and implement input validation for SpEL expressions.

While the primary risk is denial-of-service, which affects availability, it does not directly lead to data loss.

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