Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

passport-google-oauth20-2.0.0.tgz: 1 vulnerabilities (highest severity is: 5.3) #1964

Open
mend-bolt-for-github bot opened this issue Jan 6, 2023 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link

mend-bolt-for-github bot commented Jan 6, 2023

Vulnerable Library - passport-google-oauth20-2.0.0.tgz

Path to dependency file: /components/discovery/yarn.lock

Path to vulnerable library: /components/discovery/yarn.lock

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (passport-google-oauth20 version) Remediation Available
CVE-2021-41580 Medium 5.3 passport-oauth2-1.5.0.tgz Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

Details

CVE-2021-41580

Vulnerable Library - passport-oauth2-1.5.0.tgz

OAuth 2.0 authentication strategy for Passport.

Library home page: https://registry.npmjs.org/passport-oauth2/-/passport-oauth2-1.5.0.tgz

Path to dependency file: /components/discovery/yarn.lock

Path to vulnerable library: /components/discovery/yarn.lock

Dependency Hierarchy:

  • passport-google-oauth20-2.0.0.tgz (Root Library)
    • passport-oauth2-1.5.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

** DISPUTED ** The passport-oauth2 package before 1.6.1 for Node.js mishandles the error condition of failure to obtain an access token. This is exploitable in certain use cases where an OAuth identity provider uses an HTTP 200 status code for authentication-failure error reports, and an application grants authorization upon simply receiving the access token (i.e., does not try to use the token). NOTE: the passport-oauth2 vendor does not consider this a passport-oauth2 vulnerability.

Publish Date: 2021-09-27

URL: CVE-2021-41580

CVSS 3 Score Details (5.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41580

Release Date: 2021-09-27

Fix Resolution: passport-oauth2 - 1.6.1

Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants