CVE-2014-3625 — spring-webmvc
Fix: spring-projects/spring-framework@161d3e3CVE-2014-3625 is a Path Traversal vulnerability in org.springframework:spring-webmvc. 2 public exploit or proof-of-concept references are indexed, so weaponization risk is real. A fix is available for org.springframework:spring-webmvc — see the affected versions and patch details below.
Improper Limitation of a Pathname to a Restricted Directory in Spring Framework
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
org.springframework:spring-webmvc☕org.springframework:spring-webmvc☕org.springframework:spring-webmvcReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Directory traversal vulnerability in Pivotal Spring Framework 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 allows remote attackers to read arbitrary files via unspecified vectors, related to static resource handling.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.springframework:spring-webmvc | ≥ 3.0.4&&< 3.2.12 | 3.2.12org.springframework:spring-webmvc:3.2.12 |
| ☕Maven | org.springframework:spring-webmvc | ≥ 4.0.0&&< 4.0.8 | 4.0.8org.springframework:spring-webmvc:4.0.8 |
| ☕Maven | org.springframework:spring-webmvc | ≥ 4.1.0&&< 4.1.2 | 4.1.2org.springframework:spring-webmvc:4.1.2 |
Affected Products
spring frameworkpivotal_softwarespring frameworkvmwareResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.springframework:spring-webmvc, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.springframework:spring-webmvc to 3.2.12 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2014-3625 is resolved across your whole dependency graph.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat JBoss A-MQ 6.1 | see advisory | RHSA-2015:0236 |
| Red Hat JBoss BPMS 6.0 | spring | RHSA-2015:0234 |
| Red Hat JBoss BRMS 6.0 | spring | RHSA-2015:0235 |
| Red Hat JBoss Fuse Service Works 6.0 | spring | RHSA-2015:0720 |
Frequently Asked Questions
Is CVE-2014-3625 in your dependencies?
Find it across Maven, including transitive dependencies.