Remote Code Execution Vulnerability in libspring-java Package

libspring-java Updated 02 Oct 2025

Summary

01/04/2022
N/A
No i
Unrated
Not published

DEBIAN-CVE-2022-22965: A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The libspring-java package is a core component of the Spring Framework, widely used for building Java applications. It provides comprehensive infrastructure support for developing Java applications, including web applications through Spring MVC and Spring WebFlux. This package is essential for developers looking to create robust and scalable applications. However, it has been identified as vulnerable to a remote code execution (RCE) issue when deployed under specific conditions.

Vulnerability Detail

A Spring MVC or Spring WebFlux application running on JDK 9 or higher may be susceptible to remote code execution (RCE) through data binding. This vulnerability arises when the application is deployed on Tomcat as a WAR file. If the application is deployed as a Spring Boot executable jar, it is not vulnerable. The exploit takes advantage of the data binding feature, which can be manipulated to execute arbitrary code. This vulnerability is classified under CVE-2022-22965 and poses significant risks if exploited, potentially allowing attackers to execute malicious code on the server.

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, ensure that your application is not deployed as a WAR file on Tomcat. Instead, consider deploying it as a Spring Boot executable jar, which is not affected by this vulnerability.

Conclusion

The libspring-java package has a vulnerability (CVE-2022-22965) that could allow remote code execution under certain conditions. It is crucial for developers to update their packages to the latest version or implement workarounds to mitigate the risk. Regular monitoring using tools like Vulert can help maintain the security of your applications.

See every vulnerability recorded for libspring-java →

Share this vulnerability

FAQ

CVE-2022-22965 is a vulnerability in the libspring-java package that allows for remote code execution in specific deployment scenarios.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By uploading your manifest file, you can check if your application is affected by this vulnerability.

If immediate updates are not possible, consider deploying your application as a Spring Boot executable jar instead of a WAR file to mitigate the risk.

While the urgency is classified as unimportant, the potential for remote code execution makes it a significant concern that should be addressed promptly.

Detailed information can be found in the official CVE database and through security advisories related to the Spring Framework.

Related vulnerabilities

Recent vulnerabilities recorded for libspring-java.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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