GHSA-9xgp-hfw7-73rq: Keystone Authentication Weakness Vulnerability
MODERATEGHSA-9xgp-hfw7-73rq is a MODERATE authentication weakness vulnerability (General Security Weakness) 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.
GHSA-9xgp-hfw7-73rq at a Glance
How to Fix GHSA-9xgp-hfw7-73rq
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.
npm install keystone@0.3.16
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 GHSA-9xgp-hfw7-73rq, 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 General Security Weakness. 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
GHSA-9xgp-hfw7-73rq Affected Keystone Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
keystone
|
npm |
< 0.3.16
|
0.3.16
|
References
Frequently Asked Questions
What is GHSA-9xgp-hfw7-73rq?
Which Keystone versions are affected?
What version fixes GHSA-9xgp-hfw7-73rq?
Is keystone affected?
What CWE is associated with GHSA-9xgp-hfw7-73rq?
How can I check npm dependencies for GHSA-9xgp-hfw7-73rq?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9xgp-hfw7-73rq",
"modified" : "2020-08-19T21:30:04Z",
"published" : "2020-08-19T21:30:04Z",
"withdrawn" : "2020-08-19T21:30:04Z",
"aliases" : [ ],
"summary" : "Authentication Weakness in keystone",
"details" : "There is an authentication weakness vulnerability in keystone before version 0.3.16. Due to a bug in the the default sign in functionality, incomplete email addresses could be matched. A correct password is still required to complete sign in.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "keystone"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.3.16"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/keystonejs/keystone/issues/1085"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2019-05-29T19:21:31Z",
"nvd_published_at" : null
}
}