CVE-2015-9240: Keystone Authentication Weakness Vulnerability

HIGH
Advisory Identifier: GHSA-39pj-gq8q-9pfj
CVSS 7.5
CWE-1255
Published
Advisory Summary

CVE-2015-9240 is a HIGH (CVSS 7.5) authentication weakness vulnerability (CWE-1255: Comparison Logic is Vulnerable to Power Side-Channel Attacks) affecting Keystone libraries in the npm ecosystem. The issue involves authentication weakness in keystone. Remediation is available by upgrading affected packages to version 0.3.16.

CVE-2015-9240 at a Glance

CVE Identifier CVE-2015-9240
GHSA Identifier GHSA-39pj-gq8q-9pfj
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-1255: Comparison Logic is Vulnerable to Power Side-Channel Attacks
Affected Product Keystone
Package Ecosystem npm
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.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N).

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 High (I:H)
Availability None (A:N)

How to Fix CVE-2015-9240

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

keystone fixed: 0.3.16
npm install keystone@0.3.16
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls keystone

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2015-9240, inspect your project dependencies using npm:

npm ls keystone

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

Note: The npm ls keystone command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-1255: Comparison Logic is Vulnerable to Power Side-Channel Attacks, where a device's real time power consumption may be monitored during security token evaluation and the information gleaned may be used to determine the value of the reference token. In Keystone, 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

Versions of `keystone` prior to 0.3.16 are affected by a partial authentication bypass vulnerability. In the default sign in functionality, if an attacker provides a full and correct password, yet only provides part of the associated email address, authentication will be granted. ## Recommendation Update to version 0.3.16 or later.

CVE-2015-9240 Affected Keystone Versions

1 component(s)
Fixed Versions:
0.3.16
Product / Package Ecosystem Affected Versions Fixed Version
keystone
npm
< 0.3.16
0.3.16

References

Frequently Asked Questions

What is CVE-2015-9240?
CVE-2015-9240 is a security vulnerability in Keystone involving Authentication Weakness in keystone under CWE-1255: Comparison Logic is Vulnerable to Power Side-Channel Attacks.
Which Keystone versions are affected?
Affected versions include releases prior to 0.3.16 across affected packages: keystone.
What version fixes CVE-2015-9240?
Upgrading to 0.3.16 (or the latest patched release for your respective branch) resolves the vulnerability.
Is keystone affected?
Yes, keystone is affected in releases prior to 0.3.16. Upgrade your dependency to 0.3.16 or later.
What is the CVSS score of CVE-2015-9240?
CVE-2015-9240 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2015-9240?
CVE-2015-9240 is classified under CWE-1255: Comparison Logic is Vulnerable to Power Side-Channel Attacks (A device's real time power consumption may be monitored during security token evaluation and the information gleaned may be used to determine the value of the reference token.).
How can I check npm dependencies for CVE-2015-9240?
Run the dependency tree command: 'npm ls keystone'. 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-39pj-gq8q-9pfj",
  "modified" : "2021-08-31T20:54:56Z",
  "published" : "2018-06-07T19:43:20Z",
  "aliases" : [ "CVE-2015-9240" ],
  "summary" : "Authentication Weakness in keystone",
  "details" : "Versions of `keystone` prior to 0.3.16 are affected by a partial authentication bypass vulnerability. In the default sign in functionality, if an attacker provides a full and correct password, yet only provides part of the associated email address, authentication will be granted.\n\n\n## Recommendation\n\nUpdate to version 0.3.16 or later.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "keystone"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.3.16"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-9240"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-39pj-gq8q-9pfj"
  }, {
    "type" : "WEB",
    "url" : "https://www.npmjs.com/advisories/60"
  }, {
    "type" : "WEB",
    "url" : "https://www.npmjs.com/package/keystone"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1255" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T20:54:41Z",
    "nvd_published_at" : null
  }
}