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

Medium 5.0 Published Updated

Remote attackers can read arbitrary files via crafted URLs in Spring Framework, requiring an upgrade to secure the application.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2014-3578?

CVE-2014-3578 is a medium-severity path traversal vulnerability in n/a, published on 19 Feb 2015. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Directory traversal vulnerability in Pivotal Spring Framework 3.x before 3.2.9 and 4.0 before 4.0.5 allows remote attackers to read arbitrary files via a crafted URL.

Weakness: CWE-22

Which versions are affected by CVE-2014-3578?

4 open source packages ship an affected version, including org.springframework:spring-core. It affects 1 product.

PackageAffectedFixed in
org.springframework:spring-core MavenFrom 3.0.03.2.9
org.springframework:spring-core MavenFrom 3.0.03.2.9
org.springframework:spring-core MavenFrom 4.0.04.0.5
org.springframework:spring-core MavenFrom 4.0.04.0.5

Products include Pivotal Software Spring Framework.

How do I fix CVE-2014-3578?

Upgrade org.springframework:spring-core to a fixed version for your release line: 3.2.9 or 4.0.5.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2014-3578 being exploited?

There is no known exploitation of CVE-2014-3578 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2014-3578, GHSA-rhcg-rwhx-qj3j, UBUNTU-CVE-2014-3578.

Is CVE-2014-3578 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free