GHSA-v66p-w7qx-wv98: Express laravel passport Authentication Bypass Vulnerability

CRITICAL
CWE-287
Published
Advisory Summary

GHSA-v66p-w7qx-wv98 is a CRITICAL authentication bypass vulnerability (CWE-287: Improper Authentication) affecting Express laravel passport libraries in the npm ecosystem. The issue involves authentication bypass in express-laravel-passport. Remediation is available in the latest vendor maintenance releases.

GHSA-v66p-w7qx-wv98 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-v66p-w7qx-wv98
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-287: Improper Authentication
Affected Product Express laravel passport
Package Ecosystem npm
Published Date
Last Updated

How to Fix GHSA-v66p-w7qx-wv98

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

express-laravel-passport fixed: Latest secure release
npm install express-laravel-passport@Latest secure release
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 express-laravel-passport

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-v66p-w7qx-wv98, inspect your project dependencies using npm:

npm ls express-laravel-passport

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

Note: The npm ls express-laravel-passport 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-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Express laravel passport, 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

All versions of `express-laravel-passport` are vulnerable to an Authentication Bypass. The package fails to properly validate JWTs, allowing attackers to send HTTP requests impersonating other users. ## Recommendation Upgrade to version 2.0.5 or later.

GHSA-v66p-w7qx-wv98 Affected Express laravel passport Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
express-laravel-passport
npm
≥ 0.0.0

References

Frequently Asked Questions

What is GHSA-v66p-w7qx-wv98?
GHSA-v66p-w7qx-wv98 is a security vulnerability in Express laravel passport involving Authentication Bypass in express-laravel-passport under CWE-287: Improper Authentication.
Which Express laravel passport versions are affected?
Affected versions include releases prior to current release patches across affected packages: express-laravel-passport.
What version fixes GHSA-v66p-w7qx-wv98?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is express-laravel-passport affected?
Yes, express-laravel-passport is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-v66p-w7qx-wv98?
GHSA-v66p-w7qx-wv98 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check npm dependencies for GHSA-v66p-w7qx-wv98?
Run the dependency tree command: 'npm ls express-laravel-passport'. 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-v66p-w7qx-wv98",
  "modified" : "2020-08-31T18:59:44Z",
  "published" : "2020-09-04T17:29:34Z",
  "aliases" : [ ],
  "summary" : "Authentication Bypass in express-laravel-passport",
  "details" : "All versions of `express-laravel-passport` are vulnerable to an Authentication Bypass. The package fails to properly validate JWTs, allowing attackers to send HTTP requests impersonating other users.\n\n\n## Recommendation\n\nUpgrade to version 2.0.5 or later.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "express-laravel-passport"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.0.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://hackerone.com/reports/748214"
  }, {
    "type" : "WEB",
    "url" : "https://www.npmjs.com/advisories/1450"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-08-31T18:59:44Z",
    "nvd_published_at" : null
  }
}