CVE-2017-15701: Qpid broker Remote Code Execution Vulnerability

HIGH
Advisory Identifier: GHSA-4r7g-7cpj-5jr7
CVSS 7.5
CWE-400
Published
Advisory Summary

CVE-2017-15701 is a HIGH (CVSS 7.5) remote code execution vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Qpid broker libraries in the Maven ecosystem. The issue involves apache qpid broker-j vulnerable to denial of service (dos) via uncontrolled resource consumption. Remediation is available by upgrading affected packages to version 6.1.5.

CVE-2017-15701 at a Glance

CVE Identifier CVE-2017-15701
GHSA Identifier GHSA-4r7g-7cpj-5jr7
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Qpid broker
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.5

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

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
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-2017-15701

To remediate this vulnerability, upgrade all affected Qpid broker 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.qpid:qpid-broker fixed: 6.1.5
<dependency>
    <groupId>org.apache.qpid</groupId>
    <artifactId>qpid-broker</artifactId>
    <version>6.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.apache.qpid

How to Check if You Are Affected

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

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

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

Note: The mvn dependency:tree -Dincludes=org.apache.qpid 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-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Qpid broker, 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

In Apache Qpid Broker-J versions 6.1.0 through 6.1.4 (inclusive) the broker does not properly enforce a maximum frame size in AMQP 1.0 frames. A remote unauthenticated attacker could exploit this to cause the broker to exhaust all available memory and eventually terminate. Older AMQP protocols are not affected.

CVE-2017-15701 Affected Qpid broker Versions

1 component(s)
Fixed Versions:
6.1.5
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.qpid:qpid-broker
Maven
≥ 6.1.0
< 6.1.5
6.1.5

References

Frequently Asked Questions

What is CVE-2017-15701?
CVE-2017-15701 is a security vulnerability in Qpid broker involving Apache Qpid Broker-J vulnerable to Denial of Service (DoS) via uncontrolled resource consumption under CWE-400: Uncontrolled Resource Consumption.
Which Qpid broker versions are affected?
Affected versions include releases prior to 6.1.5 across affected packages: org.apache.qpid:qpid-broker.
What version fixes CVE-2017-15701?
Upgrading to 6.1.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is qpid-broker affected?
Yes, org.apache.qpid:qpid-broker is affected in releases prior to 6.1.5. Upgrade your dependency to 6.1.5 or later.
What is the CVSS score of CVE-2017-15701?
CVE-2017-15701 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2017-15701?
CVE-2017-15701 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check Maven dependencies for CVE-2017-15701?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.qpid'. 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-4r7g-7cpj-5jr7",
  "modified" : "2023-08-28T10:50:19Z",
  "published" : "2018-10-19T16:41:15Z",
  "aliases" : [ "CVE-2017-15701" ],
  "summary" : "Apache Qpid Broker-J vulnerable to Denial of Service (DoS) via uncontrolled resource consumption",
  "details" : "In Apache Qpid Broker-J versions 6.1.0 through 6.1.4 (inclusive) the broker does not properly enforce a maximum frame size in AMQP 1.0 frames. A remote unauthenticated attacker could exploit this to cause the broker to exhaust all available memory and eventually terminate.  Older AMQP protocols are not affected.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.qpid:qpid-broker"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.1.0"
      }, {
        "fixed" : "6.1.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-15701"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-4r7g-7cpj-5jr7"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/qpid-broker-j"
  }, {
    "type" : "WEB",
    "url" : "https://issues.apache.org/jira/browse/QPID-7947"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/4054e1c90993f337eeea24a312841c0661653e673c0ff8e2cd9520fe@%3Cdev.qpid.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://qpid.apache.org/cves/CVE-2017-15701.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/102041"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T20:58:59Z",
    "nvd_published_at" : "2017-12-01T15:29:00Z"
  }
}