GHSA-7fpw-cfc4-3p2c: Duplicate advisory High Severity Vulnerability That Affects Vulnerability

HIGH
CVSS 8.1
CWE-290
Published
Advisory Summary

GHSA-7fpw-cfc4-3p2c is a HIGH (CVSS 8.1) high severity vulnerability that affects vulnerability (CWE-290: Authentication Bypass by Spoofing) affecting Duplicate advisory libraries in the npm ecosystem. The issue involves high severity vulnerability that affects passport-wsfed-saml2. Remediation is available by upgrading affected packages to version 3.0.5.

GHSA-7fpw-cfc4-3p2c at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-7fpw-cfc4-3p2c
Severity HIGH
CVSS v3.1 Base Score 8.1
CWE Classification CWE-290: Authentication Bypass by Spoofing
Affected Product Duplicate advisory
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 8.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix GHSA-7fpw-cfc4-3p2c

To remediate this vulnerability, upgrade all affected Duplicate advisory 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-wsfed-saml2 fixed: 3.0.5
npm install passport-wsfed-saml2@3.0.5
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-wsfed-saml2

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-7fpw-cfc4-3p2c, inspect your project dependencies using npm:

npm ls passport-wsfed-saml2

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

Note: The npm ls passport-wsfed-saml2 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-290: Authentication Bypass by Spoofing, where this attack-focused weakness is caused by incorrectly implemented authentication schemes that are subject to spoofing attacks. In Duplicate advisory, 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

## Duplicate advisory This advisory has been withdrawn because it is a duplicate of GHSA-77fw-rf4v-vfp9. This link is maintained to preserve external references. ## Original Description A vulnerability has been discovered in the Auth0 passport-wsfed-saml2 library affecting versions < 3.0.5. This vulnerability allows an attacker to impersonate another user and potentially elevate their privileges if the SAML identity provider does not sign the full SAML response (e.g., only signs the assertion within the response).

GHSA-7fpw-cfc4-3p2c Affected Duplicate advisory Versions

1 component(s)
Fixed Versions:
3.0.5
Product / Package Ecosystem Affected Versions Fixed Version
passport-wsfed-saml2
npm
< 3.0.5
3.0.5

References

Frequently Asked Questions

What is GHSA-7fpw-cfc4-3p2c?
GHSA-7fpw-cfc4-3p2c is a security vulnerability in Duplicate advisory involving High severity vulnerability that affects passport-wsfed-saml2 under CWE-290: Authentication Bypass by Spoofing.
Which Duplicate advisory versions are affected?
Affected versions include releases prior to 3.0.5 across affected packages: passport-wsfed-saml2.
What version fixes GHSA-7fpw-cfc4-3p2c?
Upgrading to 3.0.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is passport-wsfed-saml2 affected?
Yes, passport-wsfed-saml2 is affected in releases prior to 3.0.5. Upgrade your dependency to 3.0.5 or later.
What is the CVSS score of GHSA-7fpw-cfc4-3p2c?
GHSA-7fpw-cfc4-3p2c has a CVSS v3.1 base score of 8.1 (HIGH) with vector string CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with GHSA-7fpw-cfc4-3p2c?
GHSA-7fpw-cfc4-3p2c is classified under CWE-290: Authentication Bypass by Spoofing (This attack-focused weakness is caused by incorrectly implemented authentication schemes that are subject to spoofing attacks.).
How can I check npm dependencies for GHSA-7fpw-cfc4-3p2c?
Run the dependency tree command: 'npm ls passport-wsfed-saml2'. 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-7fpw-cfc4-3p2c",
  "modified" : "2023-06-21T22:00:08Z",
  "published" : "2017-12-28T22:51:45Z",
  "withdrawn" : "2023-06-21T22:00:08Z",
  "aliases" : [ ],
  "summary" : "Duplicate advisory: High severity vulnerability that affects passport-wsfed-saml2",
  "details" : "## Duplicate advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-77fw-rf4v-vfp9. This link is maintained to preserve external references.\n\n## Original Description\nA vulnerability has been discovered in the Auth0 passport-wsfed-saml2 library affecting versions < 3.0.5. This vulnerability allows an attacker to impersonate another user and potentially elevate their privileges if the SAML identity provider does not sign the full SAML response (e.g., only signs the assertion within the response).",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "passport-wsfed-saml2"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.0.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-16897"
  }, {
    "type" : "WEB",
    "url" : "https://auth0.com/docs/security/bulletins/cve-2017-16897"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-7fpw-cfc4-3p2c"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-290" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:22:38Z",
    "nvd_published_at" : null
  }
}