CVE-2017-2589: Project Insecure Cookie Sharing Vulnerability

CRITICAL
Advisory Identifier: GHSA-m4j5-hgqq-5jf2
CVSS 9.0
CWE-200
Published
Advisory Summary

CVE-2017-2589 is a CRITICAL (CVSS 9.0) insecure cookie sharing vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Project libraries in the Maven ecosystem. The issue involves insecure cookie sharing in hawtio. Remediation is available by upgrading affected packages to version 1.5.0.

CVE-2017-2589 at a Glance

CVE Identifier CVE-2017-2589
GHSA Identifier GHSA-m4j5-hgqq-5jf2
Severity CRITICAL
CVSS v3.1 Base Score 9.0
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Project
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 9.0

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

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

How to Fix CVE-2017-2589

To remediate this vulnerability, upgrade all affected Project dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

io.hawt:project fixed: 1.5.0
<dependency>
    <groupId>io.hawt</groupId>
    <artifactId>project</artifactId>
    <version>1.5.0</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=io.hawt

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=io.hawt

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

Note: The mvn dependency:tree -Dincludes=io.hawt 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Project, 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 discovered that the hawtio servlet 1.4 uses a single HttpClient instance to proxy requests with a persistent cookie store (cookies are stored locally and are not passed between the client and the end URL) which means all clients using that proxy are sharing the same cookies.

CVE-2017-2589 Affected Project Versions

1 component(s)
Fixed Versions:
1.5.0
Product / Package Ecosystem Affected Versions Fixed Version
io.hawt:project
Maven
< 1.5.0
1.5.0

References

Frequently Asked Questions

What is CVE-2017-2589?
CVE-2017-2589 is a security vulnerability in Project involving Insecure cookie sharing in Hawtio under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Project versions are affected?
Affected versions include releases prior to 1.5.0 across affected packages: io.hawt:project.
What version fixes CVE-2017-2589?
Upgrading to 1.5.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is project affected?
Yes, io.hawt:project is affected in releases prior to 1.5.0. Upgrade your dependency to 1.5.0 or later.
What is the CVSS score of CVE-2017-2589?
CVE-2017-2589 has a CVSS v3.1 base score of 9.0 (CRITICAL) with vector string CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H.
What CWE is associated with CVE-2017-2589?
CVE-2017-2589 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check Maven dependencies for CVE-2017-2589?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=io.hawt'. 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-m4j5-hgqq-5jf2",
  "modified" : "2022-11-04T20:36:38Z",
  "published" : "2022-05-13T01:36:55Z",
  "aliases" : [ "CVE-2017-2589" ],
  "summary" : "Insecure cookie sharing in Hawtio",
  "details" : "It was discovered that the hawtio servlet 1.4 uses a single HttpClient instance to proxy requests with a persistent cookie store (cookies are stored locally and are not passed between the client and the end URL) which means all clients using that proxy are sharing the same cookies.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.hawt:project"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.5.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-2589"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2017:1832"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-2589"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/hawtio/hawtio"
  }, {
    "type" : "WEB",
    "url" : "https://tadayoshi-sato.medium.com/securing-hawtio-f5fbfd5afcf0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-11-04T20:36:38Z",
    "nvd_published_at" : "2018-07-26T15:29:00Z"
  }
}