GHSA-chgg-rrmv-5q7x: Jwt simple Withdrawn Vulnerability

MODERATE
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-chgg-rrmv-5q7x
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Jwt simple
Package Ecosystem npm
Published Date
Last Updated

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.

jwt-simple fixed: 0.3.1
npm install jwt-simple@0.3.1
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 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

Withdrawn: Duplicate of GHSA-vgrx-w6rg-8fqf

GHSA-chgg-rrmv-5q7x Affected Jwt simple Versions

1 component(s)
Fixed Versions:
0.3.1
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?
GHSA-chgg-rrmv-5q7x is a security vulnerability in Jwt simple involving Withdrawn under General Security Weakness.
Which Jwt simple versions are affected?
Affected versions include releases prior to 0.3.1 across affected packages: jwt-simple.
What version fixes GHSA-chgg-rrmv-5q7x?
Upgrading to 0.3.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is jwt-simple affected?
Yes, jwt-simple is affected in releases prior to 0.3.1. Upgrade your dependency to 0.3.1 or later.
What CWE is associated with GHSA-chgg-rrmv-5q7x?
GHSA-chgg-rrmv-5q7x is classified under General Security Weakness.
How can I check npm dependencies for GHSA-chgg-rrmv-5q7x?
Run the dependency tree command: 'npm ls jwt-simple'. 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-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
  }
}