CVE-2014-3625: Improper Limitation of a Pathname to a Restricted Directory in Spring Framework

Summary

13/05/2022
Yes i
Moderate
Not published

CVE-2014-3625: Improper Limitation of a Pathname to a Restricted Directory in Spring Framework. Affects org.springframework:spring-webmvc across 3 version ranges.

>= 3.0.4, < 3.2.12 >= 4.0.0, < 4.0.8 >= 4.1.0, < 4.1.2

Fixed in 3.2.12, 4.0.8 or 4.1.2, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2014-3625 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

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 Pivotal Spring Framework is a popular open-source application framework for Java. It provides comprehensive infrastructure support for developing Java applications. The Spring Framework includes various modules, such as spring-webmvc, which is responsible for handling web requests and managing the Model-View-Controller (MVC) architecture. This vulnerability affects versions 3.0.4 through 3.2.x before 3.2.12, 4.0.x before 4.0.8, and 4.1.x before 4.1.2 of the spring-webmvc module.

Vulnerability Detail

The vulnerability in the Spring Framework is a directory traversal vulnerability. It allows remote attackers to read arbitrary files by exploiting unspecified vectors related to static resource handling. This means that an attacker can potentially access sensitive files on the server by manipulating the file path in a way that bypasses the intended restrictions. The exact details of the vectors and the specific files that can be accessed are not disclosed in the vulnerability report.

How To Fix

Latest published version: 7.1.0-RC1 as of 22 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 3.0.4, < 3.2.12 3.2.12
  • >= 4.0.0, < 4.0.8 4.0.8
  • >= 4.1.0, < 4.1.2 4.1.2

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no specific workaround provided in the vulnerability report. The recommended approach is to upgrade to a fixed version of the Spring Framework as mentioned in the 'how_to_fix' section.

Conclusion

The directory traversal vulnerability in the Spring Framework can be mitigated by upgrading to a fixed version of the framework. It is important to keep software dependencies up to date to ensure the security of your applications. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for org.springframework:spring-webmvc →

Share this vulnerability

FAQ

The vulnerability allows remote attackers to read arbitrary files on the server, potentially exposing sensitive information.

No, only versions 3.0.4 through 3.2.x before 3.2.12, 4.0.x before 4.0.8, and 4.1.x before 4.1.2 of the spring-webmvc module are affected.

The vulnerability report does not provide details about known exploits.

Yes, remote attackers can exploit this vulnerability.

The vulnerability report does not mention a CVSS score.

Related vulnerabilities

Recent vulnerabilities recorded for org.springframework:spring-webmvc.

How To Fix

Latest published version: 7.1.0-RC1 as of 22 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 3.0.4, < 3.2.12 3.2.12
  • >= 4.0.0, < 4.0.8 4.0.8
  • >= 4.1.0, < 4.1.2 4.1.2

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. 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