Critical Vulnerabilities in libspring-java: Denial of Service and Directory Traversal Risks

libspring-java Updated 03 Oct 2025

Summary

17/03/2021
N/A
Yes i
Unrated
Not published

USN-4774-1: libspring-java vulnerabilities. Affects libspring-java versions < 3.0.6.RELEASE-13ubuntu0.1~esm2. Fixed in 3.0.6.RELEASE-13ubuntu0.1~esm2. 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 core library of the Spring Framework, widely used for building Java applications. It provides comprehensive infrastructure support for developing Java applications, including features for dependency injection, transaction management, and aspect-oriented programming. However, certain vulnerabilities have been identified that could lead to severe security risks, including denial of service and unauthorized file access.

Vulnerability Detail

Multiple vulnerabilities have been discovered in the libspring-java package. These include improper handling of XML files leading to denial of service (CVE-2015-3192), potential reflected file download due to incorrect URL handling (CVE-2015-5211), and inadequate sanitization of path inputs resulting in directory traversal attacks (CVE-2016-9878). Additionally, vulnerabilities related to XML external entity attacks (CVE-2014-0225) and directory traversal (CVE-2014-3625, CVE-2014-3578) have been identified, particularly affecting Ubuntu 14.04 ESM.

How To Fix

Minimum fixed version

3.0.6.RELEASE-13ubuntu0.1~esm2

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

If immediate patching is not feasible, consider restricting access to the affected components of the application or implementing input validation to mitigate the risks associated with these vulnerabilities. Additionally, monitor your application for any unusual activity that may indicate exploitation attempts.

Conclusion

The vulnerabilities in libspring-java pose significant risks to applications using this library. It is essential to apply the recommended updates to mitigate these risks effectively. Regular monitoring and proactive security measures are crucial to maintaining application integrity.

See every vulnerability recorded for libspring-java →

Share this vulnerability

FAQ

libspring-java is a library within the Spring Framework that provides essential features for Java application development, including dependency injection and transaction management.

The vulnerabilities include denial of service, directory traversal, and XML external entity attacks, which can lead to unauthorized file access and service disruption.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Simply upload your manifest file like package-lock.json to check for vulnerabilities.

If you cannot apply the updates right away, implement input validation and restrict access to the affected components to minimize risk.

Detailed information about the vulnerabilities can be found in the Ubuntu Security Notices and the CVE database.

Related vulnerabilities

Recent vulnerabilities recorded for libspring-java.

How To Fix

Minimum fixed version

3.0.6.RELEASE-13ubuntu0.1~esm2

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