Critical Remote Code Execution Vulnerability in libspring-java Package

libspring-java Updated 02 Oct 2025

Summary

01/04/2022
N/A
Yes i
Critical
9.8

UBUNTU-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.22-1~18.04.1~esm1. Fixed in 4.3.22-1~18.04.1~esm1. 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

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 features for web applications, data access, and transaction management. This package is essential for developers utilizing Spring MVC or Spring WebFlux for their projects. However, it is vulnerable to a critical security flaw that could allow remote code execution under specific conditions.

Vulnerability Detail

A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via 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 susceptible to this exploit. The implications of this vulnerability are severe, as it could allow an attacker to execute arbitrary code on the server, leading to potential data breaches or system compromise.

How To Fix

Minimum fixed version

4.3.22-1~18.04.1~esm1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libspring-java

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, consider deploying your Spring application as an executable jar instead of a WAR file on Tomcat to mitigate the risk of this vulnerability until a patch is applied.

Conclusion

The libspring-java package is critical for Java application development, but it is currently affected by a severe remote code execution vulnerability. It is crucial for developers to update their packages to the patched versions and consider workarounds until the updates can be applied. Regular monitoring for vulnerabilities using tools like Vulert can help maintain application security.

See every vulnerability recorded for libspring-java →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 9.8, indicating a critical level of severity.

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

If exploited, this vulnerability could allow attackers to execute arbitrary code on the server, potentially leading to data breaches or complete system compromise.

Yes, the vulnerability affects Spring applications running on JDK 9 or higher.

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

Related vulnerabilities

Recent vulnerabilities recorded for libspring-java.

How To Fix

Minimum fixed version

4.3.22-1~18.04.1~esm1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libspring-java

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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