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

bcrypt-5.0.1.tgz: 2 vulnerabilities (highest severity is: 7.5) #6

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

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Aug 1, 2022

Vulnerable Library - bcrypt-5.0.1.tgz

Path to dependency file: /tmp/ws-scm/Marie_Bressy_P6_14072021/package.json

Path to vulnerable library: /tmp/ws-scm/Marie_Bressy_P6_14072021/node_modules/node-fetch/package.json

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (bcrypt version) Remediation Possible**
CVE-2022-3517 High 7.5 minimatch-3.0.4.tgz Transitive N/A*
CVE-2022-0235 Medium 6.1 node-fetch-2.6.1.tgz Transitive 5.1.0

*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.

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

Details

CVE-2022-3517

Vulnerable Library - minimatch-3.0.4.tgz

a glob matcher in javascript

Library home page: https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz

Path to dependency file: /tmp/ws-scm/Marie_Bressy_P6_14072021/package.json

Path to vulnerable library: /tmp/ws-scm/Marie_Bressy_P6_14072021/node_modules/minimatch/package.json

Dependency Hierarchy:

  • bcrypt-5.0.1.tgz (Root Library)
    • node-pre-gyp-1.0.5.tgz
      • rimraf-3.0.2.tgz
        • glob-7.1.7.tgz
          • minimatch-3.0.4.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

A vulnerability was found in the minimatch package. This flaw allows a Regular Expression Denial of Service (ReDoS) when calling the braceExpand function with specific arguments, resulting in a Denial of Service.

Publish Date: 2022-10-17

URL: CVE-2022-3517

CVSS 3 Score Details (7.5)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2022-10-17

Fix Resolution: minimatch - 3.0.5

Step up your Open Source Security Game with Mend here

CVE-2022-0235

Vulnerable Library - node-fetch-2.6.1.tgz

A light-weight module that brings window.fetch to node.js

Library home page: https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz

Path to dependency file: /tmp/ws-scm/Marie_Bressy_P6_14072021/package.json

Path to vulnerable library: /tmp/ws-scm/Marie_Bressy_P6_14072021/node_modules/node-fetch/package.json

Dependency Hierarchy:

  • bcrypt-5.0.1.tgz (Root Library)
    • node-pre-gyp-1.0.5.tgz
      • node-fetch-2.6.1.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

node-fetch is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor

Publish Date: 2022-01-16

URL: CVE-2022-0235

CVSS 3 Score Details (6.1)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-r683-j2x4-v87g

Release Date: 2022-01-16

Fix Resolution (node-fetch): 2.6.7

Direct dependency fix Resolution (bcrypt): 5.1.0

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 Aug 1, 2022
@mend-bolt-for-github mend-bolt-for-github bot changed the title bcrypt-5.0.1.tgz: 1 vulnerabilities (highest severity is: 6.1) bcrypt-5.0.1.tgz: 2 vulnerabilities (highest severity is: 7.5) Oct 20, 2022
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