CVE-2015-0201: Spring Framework Spring-core Vulnerability

MODERATE
Advisory Identifier: GHSA-45vg-2v73-vm62
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2015-0201
GHSA Identifier GHSA-45vg-2v73-vm62
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Spring Framework
Package Ecosystem Maven
Published Date
Last Updated

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.

org.springframework:spring-core fixed: 4.1.5
<dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-core</artifactId>
    <version>4.1.5</version>
</dependency>
Verify Direct and Transitive Dependencies

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

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.

CVE-2015-0201 Affected Spring Framework Versions

1 component(s)
Fixed Versions:
4.1.5
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?
CVE-2015-0201 is a security vulnerability in Spring Framework involving spring-core under General Security Weakness.
Which Spring Framework versions are affected?
Affected versions include releases prior to 4.1.5 across affected packages: org.springframework:spring-core.
What version fixes CVE-2015-0201?
Upgrading to 4.1.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is spring-core affected?
Yes, org.springframework:spring-core is affected in releases prior to 4.1.5. Upgrade your dependency to 4.1.5 or later.
What CWE is associated with CVE-2015-0201?
CVE-2015-0201 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2015-0201?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.springframework'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}