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-0.4.1.tgz: 1 vulnerabilities (highest severity is: 4.8) reachable #27

Open
mend-for-github-com bot opened this issue Mar 1, 2024 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Mar 1, 2024

Vulnerable Library - passport-0.4.1.tgz

Simple, unobtrusive authentication for Node.js.

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

Path to dependency file: /baak-dataload-sql/package.json

Path to vulnerable library: /baak-dataload-sql/node_modules/passport/package.json

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (passport version) Remediation Possible** Reachability
CVE-2022-25896 Medium 4.8 passport-0.4.1.tgz Direct 0.6.0

Reachable

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2022-25896

Vulnerable Library - passport-0.4.1.tgz

Simple, unobtrusive authentication for Node.js.

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

Path to dependency file: /baak-dataload-sql/package.json

Path to vulnerable library: /baak-dataload-sql/node_modules/passport/package.json

Dependency Hierarchy:

  • passport-0.4.1.tgz (Vulnerable Library)

Found in base branch: master

Reachability Analysis

This vulnerability is potentially reachable

baak-dataload-sql-1.0.0/src/utils/passport.ts (Application)
  -> passport-0.4.1/lib/index.js (Extension)
   -> passport-0.4.1/lib/authenticator.js (Extension)
    -> ❌ passport-0.4.1/lib/sessionmanager.js (Vulnerable Component)

Vulnerability Details

This affects the package passport before 0.6.0. When a user logs in or logs out, the session is regenerated instead of being closed.

Publish Date: 2022-07-01

URL: CVE-2022-25896

CVSS 3 Score Details (4.8)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

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

Release Date: 2022-07-01

Fix Resolution: 0.6.0

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Mar 1, 2024
@mend-for-github-com mend-for-github-com bot changed the title passport-0.4.1.tgz: 1 vulnerabilities (highest severity is: 4.8) passport-0.4.1.tgz: 1 vulnerabilities (highest severity is: 4.8) reachable Mar 12, 2024
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 Mend
Projects
None yet
Development

No branches or pull requests

0 participants