Vulnerabilities in pkg:npm/passport-sharepoint

PACKAGE
Advisory Identifier: GHSA-45fh-g845-pj9w
Advisory Summary

CVE-2019-13483 is a HIGH (CVSS 7.3) auth0 passport-sharepoint does not validate vulnerability (CWE-345: Insufficient Verification of Data Authenticity) affecting Passport sharepoint libraries in the npm ecosystem. The issue involves auth0 passport-sharepoint does not validate jwt signature. Remediation is available by upgrading affected packages to version 0.4.0.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/passport-sharepoint

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/passport-sharepoint. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-45fh-g845-pj9w CVE-2019-13483 HIGH Auth0 Passport-SharePoint does not validate JWT signature

CVE-2019-13483 at a Glance

CVE Identifier CVE-2019-13483
GHSA Identifier GHSA-45fh-g845-pj9w
Severity HIGH
CVSS v3.1 Base Score 7.3
CWE Classification CWE-345: Insufficient Verification of Data Authenticity
Affected Product Passport sharepoint
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 7.3

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:L/I:L/A:L).

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 Low (C:L)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2019-13483

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

passport-sharepoint fixed: 0.4.0
npm install passport-sharepoint@0.4.0
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 passport-sharepoint

How to Check if You Are Affected

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

npm ls passport-sharepoint

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

Note: The npm ls passport-sharepoint 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-345: Insufficient Verification of Data Authenticity, where the product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data. In Passport sharepoint, 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

Auth0 Passport-SharePoint before 0.4.0 does not validate the JWT signature of an Access Token before processing. This allows attackers to forge tokens and bypass authentication and authorization mechanisms.

CVE-2019-13483 Affected Passport sharepoint Versions

1 component(s)
Fixed Versions:
0.4.0
Product / Package Ecosystem Affected Versions Fixed Version
passport-sharepoint
npm
< 0.4.0
0.4.0

References

Frequently Asked Questions

What is CVE-2019-13483?
CVE-2019-13483 is a security vulnerability in Passport sharepoint involving Auth0 Passport-SharePoint does not validate JWT signature under CWE-345: Insufficient Verification of Data Authenticity.
Which Passport sharepoint versions are affected?
Affected versions include releases prior to 0.4.0 across affected packages: passport-sharepoint.
What version fixes CVE-2019-13483?
Upgrading to 0.4.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is passport-sharepoint affected?
Yes, passport-sharepoint is affected in releases prior to 0.4.0. Upgrade your dependency to 0.4.0 or later.
What is the CVSS score of CVE-2019-13483?
CVE-2019-13483 has a CVSS v3.1 base score of 7.3 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.
What CWE is associated with CVE-2019-13483?
CVE-2019-13483 is classified under CWE-345: Insufficient Verification of Data Authenticity (The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.).
How can I check npm dependencies for CVE-2019-13483?
Run the dependency tree command: 'npm ls passport-sharepoint'. 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-45fh-g845-pj9w",
  "modified" : "2023-07-14T21:25:27Z",
  "published" : "2022-05-24T16:51:23Z",
  "aliases" : [ "CVE-2019-13483" ],
  "summary" : "Auth0 Passport-SharePoint does not validate JWT signature",
  "details" : "Auth0 Passport-SharePoint before 0.4.0 does not validate the JWT signature of an Access Token before processing. This allows attackers to forge tokens and bypass authentication and authorization mechanisms.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "passport-sharepoint"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.4.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-13483"
  }, {
    "type" : "WEB",
    "url" : "https://auth0.com/docs/security/bulletins/cve-2019-13483"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/auth0/passport-sharepoint"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-345" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-07-14T21:25:27Z",
    "nvd_published_at" : "2019-07-25T20:15:00Z"
  }
}