CVE-2015-7559: Activemq client Improper Input Validation And Missing Vulnerability

MODERATE
Advisory Identifier: GHSA-jvpp-hxjj-5ccc
CVSS 4.9
CWE-20 CWE-306
Published
Advisory Summary

CVE-2015-7559 is a MODERATE (CVSS 4.9) improper input validation and missing vulnerability (CWE-20: Improper Input Validation) affecting Activemq client libraries in the Maven ecosystem. The issue involves improper input validation and missing authentication for critical function in apache activemq. Remediation is available by upgrading affected packages to version 5.14.5.

CVE-2015-7559 at a Glance

CVE Identifier CVE-2015-7559
GHSA Identifier GHSA-jvpp-hxjj-5ccc
Severity MODERATE
CVSS v3.1 Base Score 4.9
CWE Classification CWE-20: Improper Input Validation
Affected Product Activemq client
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 4.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2015-7559

To remediate this vulnerability, upgrade all affected Activemq client 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.apache.activemq:activemq-client fixed: 5.14.5
<dependency>
    <groupId>org.apache.activemq</groupId>
    <artifactId>activemq-client</artifactId>
    <version>5.14.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.apache.activemq

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2015-7559, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.apache.activemq

Analyze the terminal output to locate any version of Activemq client in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.14.5), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.apache.activemq 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 CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Activemq client, 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

It was found that the Apache ActiveMQ client before 5.14.5 exposed a remote shutdown command in the ActiveMQConnection class. An attacker logged into a compromised broker could use this flaw to achieve denial of service on a connected client.

CVE-2015-7559 Affected Activemq client Versions

1 component(s)
Fixed Versions:
5.14.5
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.activemq:activemq-client
Maven
< 5.14.5
5.14.5

References

Frequently Asked Questions

What is CVE-2015-7559?
CVE-2015-7559 is a security vulnerability in Activemq client involving Improper Input Validation and Missing Authentication for Critical Function in Apache ActiveMQ under CWE-20: Improper Input Validation.
Which Activemq client versions are affected?
Affected versions include releases prior to 5.14.5 across affected packages: org.apache.activemq:activemq-client.
What version fixes CVE-2015-7559?
Upgrading to 5.14.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is activemq-client affected?
Yes, org.apache.activemq:activemq-client is affected in releases prior to 5.14.5. Upgrade your dependency to 5.14.5 or later.
What is the CVSS score of CVE-2015-7559?
CVE-2015-7559 has a CVSS v3.1 base score of 4.9 (MODERATE) with vector string CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2015-7559?
CVE-2015-7559 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check Maven dependencies for CVE-2015-7559?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.activemq'. 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-jvpp-hxjj-5ccc",
  "modified" : "2023-12-20T20:40:44Z",
  "published" : "2019-08-01T19:17:45Z",
  "aliases" : [ "CVE-2015-7559" ],
  "summary" : "Improper Input Validation and Missing Authentication for Critical Function in Apache ActiveMQ",
  "details" : "It was found that the Apache ActiveMQ client before 5.14.5 exposed a remote shutdown command in the ActiveMQConnection class. An attacker logged into a compromised broker could use this flaw to achieve denial of service on a connected client.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.activemq:activemq-client"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.14.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-7559"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/activemq/commit/b8fc78ec6c367cbe2a40a674eaec64ac3d7d1ec"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2015-7559"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/activemq"
  }, {
    "type" : "WEB",
    "url" : "https://issues.apache.org/jira/browse/AMQ-6470"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20", "CWE-306" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2019-08-01T19:05:30Z",
    "nvd_published_at" : "2019-08-01T14:15:00Z"
  }
}