Critical Reflected File Download Vulnerability in libspring-java Package

libspring-java Updated 03 Oct 2025

Summary

25/05/2017
N/A
Yes i
Critical
9.6

UBUNTU-CVE-2015-5211: Under some situations, the Spring Framework 4.2.0 to 4.2.1, 4.0.0 to 4.1.7, 3.2.0 to 3.2.14 and older unsupported versions is vulnerable to a Reflected File Download (RFD) attack. 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

The libspring-java package is a core component of the Spring Framework, which is widely used for building Java applications. It provides comprehensive infrastructure support for developing Java applications, including features for dependency injection, aspect-oriented programming, and transaction management. This package is crucial for developers looking to create robust and scalable applications. However, certain versions of this package are vulnerable to a Reflected File Download (RFD) attack, which can lead to severe security implications.

Vulnerability Detail

The vulnerability, identified as CVE-2015-5211, affects versions of the Spring Framework from 4.2.0 to 4.2.1, 4.0.0 to 4.1.7, and 3.2.0 to 3.2.14, as well as older unsupported versions. It allows a malicious user to craft a URL with a batch script extension, causing the response to be downloaded instead of rendered. This can lead to unauthorized file downloads and potential exploitation of the user's system, making it a critical security risk.

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

As a temporary workaround, it is advisable to restrict access to the affected endpoints and validate user inputs to mitigate the risk of exploitation until the package can be updated.

Conclusion

The libspring-java package has a critical vulnerability (CVE-2015-5211) that can lead to serious security risks through Reflected File Download attacks. It is crucial for users to update to the patched versions to safeguard their applications. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.

See every vulnerability recorded for libspring-java →

Share this vulnerability

FAQ

CVE-2015-5211 is a vulnerability in the Spring Framework that allows for a Reflected File Download (RFD) attack, potentially leading to unauthorized file downloads.

Affected versions include Spring Framework 4.2.0 to 4.2.1, 4.0.0 to 4.1.7, and 3.2.0 to 3.2.14, along with older unsupported versions.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without needing to sign up.

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

If an immediate update is not possible, consider implementing access restrictions and input validation as temporary measures to reduce the risk of exploitation.

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