GHSA-chgg-rrmv-5q7x: Jwt simple Withdrawn Vulnerability
MODERATEGHSA-chgg-rrmv-5q7x is a MODERATE withdrawn vulnerability (General Security Weakness) affecting Jwt simple libraries in the npm ecosystem. The issue involves withdrawn. Remediation is available by upgrading affected packages to version 0.3.1.
GHSA-chgg-rrmv-5q7x at a Glance
How to Fix GHSA-chgg-rrmv-5q7x
To remediate this vulnerability, upgrade all affected Jwt simple 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 jwt-simple@0.3.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls jwt-simple
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-chgg-rrmv-5q7x, inspect your project dependencies using npm:
npm ls jwt-simple
Analyze the terminal output to locate any version of Jwt simple in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.3.1), your application is affected.
Note: The npm ls jwt-simple 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 Jwt simple, 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-chgg-rrmv-5q7x Affected Jwt simple Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
jwt-simple
|
npm |
< 0.3.1
|
0.3.1
|
References
Frequently Asked Questions
What is GHSA-chgg-rrmv-5q7x?
Which Jwt simple versions are affected?
What version fixes GHSA-chgg-rrmv-5q7x?
Is jwt-simple affected?
What CWE is associated with GHSA-chgg-rrmv-5q7x?
How can I check npm dependencies for GHSA-chgg-rrmv-5q7x?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-chgg-rrmv-5q7x",
"modified" : "2020-08-03T18:05:48Z",
"published" : "2020-08-03T18:05:48Z",
"withdrawn" : "2020-08-03T18:05:48Z",
"aliases" : [ ],
"summary" : "Withdrawn",
"details" : "Withdrawn: Duplicate of GHSA-vgrx-w6rg-8fqf",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "jwt-simple"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.3.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/hokaccha/node-jwt-simple/pull/16"
}, {
"type" : "WEB",
"url" : "https://github.com/hokaccha/node-jwt-simple/commit/957957cfa44474049b4603b293569588ee9ffd97"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2019-05-31T23:18:14Z",
"nvd_published_at" : null
}
}