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

nedb-promises-4.0.3.tgz: 3 vulnerabilities (highest severity is: 9.8) #6

Open
mend-for-github-com bot opened this issue Jul 25, 2022 · 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 Jul 25, 2022

Vulnerable Library - nedb-promises-4.0.3.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/nedb/package.json

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (nedb-promises version) Remediation Possible**
CVE-2021-44906 Critical 9.8 minimist-1.2.5.tgz Transitive 4.0.4
CVE-2021-23395 High 7.3 nedb-1.8.0.tgz Transitive N/A*
CVE-2021-23358 Low 3.3 underscore-1.4.4.tgz Transitive 5.0.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-2021-44906

Vulnerable Library - minimist-1.2.5.tgz

parse argument options

Library home page: https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/minimist/package.json

Dependency Hierarchy:

  • nedb-promises-4.0.3.tgz (Root Library)
    • nedb-1.8.0.tgz
      • mkdirp-0.5.5.tgz
        • minimist-1.2.5.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Minimist <=1.2.5 is vulnerable to Prototype Pollution via file index.js, function setKey() (lines 69-95).

Publish Date: 2022-03-17

URL: CVE-2021-44906

CVSS 3 Score Details (9.8)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-xvch-5gv4-984h

Release Date: 2022-03-17

Fix Resolution (minimist): 1.2.6

Direct dependency fix Resolution (nedb-promises): 4.0.4

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2021-23395

Vulnerable Library - nedb-1.8.0.tgz

File-based embedded data store for node.js

Library home page: https://registry.npmjs.org/nedb/-/nedb-1.8.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/nedb/package.json

Dependency Hierarchy:

  • nedb-promises-4.0.3.tgz (Root Library)
    • nedb-1.8.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

This affects all versions of package nedb. The library could be tricked into adding or modifying properties of Object.prototype using a proto or constructor.prototype payload.

Publish Date: 2021-06-15

URL: CVE-2021-23395

CVSS 3 Score Details (7.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: Low
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

CVE-2021-23358

Vulnerable Library - underscore-1.4.4.tgz

JavaScript's functional programming helper library.

Library home page: https://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/underscore/package.json

Dependency Hierarchy:

  • nedb-promises-4.0.3.tgz (Root Library)
    • nedb-1.8.0.tgz
      • underscore-1.4.4.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

The package underscore from 1.13.0-0 and before 1.13.0-2, from 1.3.2 and before 1.12.1 are vulnerable to Arbitrary Code Injection via the template function, particularly when a variable property is passed as an argument as it is not sanitized.

Publish Date: 2021-03-29

URL: CVE-2021-23358

CVSS 3 Score Details (3.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: High
    • User Interaction: None
    • Scope: Unchanged
  • 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: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23358

Release Date: 2021-03-29

Fix Resolution (underscore): 1.12.1

Direct dependency fix Resolution (nedb-promises): 5.0.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 Jul 25, 2022
@mend-for-github-com mend-for-github-com bot changed the title nedb-promises-4.0.3.tgz: 4 vulnerabilities (highest severity is: 7.8) nedb-promises-4.0.3.tgz: 4 vulnerabilities (highest severity is: 9.8) Aug 13, 2022
@mend-for-github-com mend-for-github-com bot changed the title nedb-promises-4.0.3.tgz: 4 vulnerabilities (highest severity is: 9.8) nedb-promises-4.0.3.tgz: 3 vulnerabilities (highest severity is: 9.8) Dec 27, 2022
@mend-for-github-com mend-for-github-com bot changed the title nedb-promises-4.0.3.tgz: 3 vulnerabilities (highest severity is: 9.8) nedb-promises-4.0.3.tgz: 4 vulnerabilities (highest severity is: 9.8) Jul 3, 2024
@mend-for-github-com mend-for-github-com bot changed the title nedb-promises-4.0.3.tgz: 4 vulnerabilities (highest severity is: 9.8) nedb-promises-4.0.3.tgz: 3 vulnerabilities (highest severity is: 9.8) Jul 15, 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