CVE-2015-0201: Spring Framework Spring-core Vulnerability
MODERATECVE-2015-0201 is a MODERATE spring-core vulnerability (General Security Weakness) affecting Spring Framework libraries in the Maven ecosystem. The issue involves spring-core. Remediation is available by upgrading affected packages to version 4.1.5.
CVE-2015-0201 at a Glance
How to Fix CVE-2015-0201
To remediate this vulnerability, upgrade all affected Spring Framework dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>4.1.5</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.springframework
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2015-0201, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.springframework
Analyze the terminal output to locate any version of Spring Framework in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.1.5), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.springframework command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Spring Framework, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2015-0201 Affected Spring Framework Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.springframework:spring-core
|
Maven |
≥ 4.1.0
< 4.1.5
|
4.1.5
|
References
Frequently Asked Questions
What is CVE-2015-0201?
Which Spring Framework versions are affected?
What version fixes CVE-2015-0201?
Is spring-core affected?
What CWE is associated with CVE-2015-0201?
How can I check Maven dependencies for CVE-2015-0201?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-45vg-2v73-vm62",
"modified" : "2024-03-05T18:20:18Z",
"published" : "2018-10-17T20:28:20Z",
"aliases" : [ "CVE-2015-0201" ],
"summary" : "Moderate severity vulnerability that affects org.springframework:spring-core",
"details" : "The Java SockJS client in Pivotal Spring Framework 4.1.x before 4.1.5 generates predictable session ids, which allows remote attackers to send messages to other sessions via unspecified vectors.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.springframework:spring-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.1.0"
}, {
"fixed" : "4.1.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-0201"
}, {
"type" : "WEB",
"url" : "https://github.com/spring-projects/spring-framework/commit/d63cfc8eebc396be009e733a81ebb4c984811f6e"
}, {
"type" : "WEB",
"url" : "https://github.com/spring-projects/spring-framework/commit/dc5b5ca8ee09c890352f89b2dae58bc0132d6545"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-45vg-2v73-vm62"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/spring-projects/spring-framework"
}, {
"type" : "WEB",
"url" : "https://pivotal.io/security/cve-2015-0201"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T20:57:30Z",
"nvd_published_at" : "2015-03-10T14:59:00Z"
}
}