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

CVE-2020-7789 (Medium) detected in multiple libraries - autoclosed #169

Closed
mend-for-github-com bot opened this issue Jul 23, 2021 · 3 comments
Closed
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Jul 23, 2021

CVE-2020-7789 - Medium Severity Vulnerability

Vulnerable Libraries - node-notifier-5.1.2.tgz, node-notifier-5.4.0.tgz, node-notifier-5.3.0.tgz

node-notifier-5.1.2.tgz

A Node.js module for sending notifications on native Mac, Windows (post and pre 8) and Linux (or Growl as fallback)

Library home page: https://registry.npmjs.org/node-notifier/-/node-notifier-5.1.2.tgz

Path to dependency file: /npm_and_yarn/spec/fixtures/projects/yarn/lockfile_only_change/package.json

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/yarn/lockfile_only_change/node_modules/node-notifier,/npm_and_yarn/spec/fixtures/projects/yarn/no_lockfile_change/node_modules/node-notifier

Dependency Hierarchy:

  • jest-22.0.4.tgz (Root Library)
    • jest-cli-22.0.4.tgz
      • node-notifier-5.1.2.tgz (Vulnerable Library)
node-notifier-5.4.0.tgz

A Node.js module for sending notifications on native Mac, Windows (post and pre 8) and Linux (or Growl as fallback)

Library home page: https://registry.npmjs.org/node-notifier/-/node-notifier-5.4.0.tgz

Path to dependency file: /npm_and_yarn/spec/fixtures/projects/npm7/subdependency_update/package.json

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm7/subdependency_update/node_modules/node-notifier/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/subdependency_update/node_modules/node-notifier/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/npm_subdependency_update/node_modules/node-notifier/package.json

Dependency Hierarchy:

  • jest-22.0.4.tgz (Root Library)
    • jest-cli-22.4.4.tgz
      • node-notifier-5.4.0.tgz (Vulnerable Library)
node-notifier-5.3.0.tgz

A Node.js module for sending notifications on native Mac, Windows (post and pre 8) and Linux (or Growl as fallback)

Library home page: https://registry.npmjs.org/node-notifier/-/node-notifier-5.3.0.tgz

Path to dependency file: /npm_and_yarn/spec/fixtures/projects/npm5/subdependency_update/package.json

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm5/subdependency_update/node_modules/node-notifier/package.json,/npm_and_yarn/spec/fixtures/projects/npm5_and_yarn/npm_subdependency_update/node_modules/node-notifier/package.json

Dependency Hierarchy:

  • jest-22.0.4.tgz (Root Library)
    • jest-cli-22.4.4.tgz
      • node-notifier-5.3.0.tgz (Vulnerable Library)

Found in HEAD commit: ba8cd9078c8ce0cb202767d627706711237abf71

Found in base branch: main

Vulnerability Details

This affects the package node-notifier before 9.0.0. It allows an attacker to run arbitrary commands on Linux machines due to the options params not being sanitised when being passed an array.

Publish Date: 2020-12-11

URL: CVE-2020-7789

CVSS 3 Score Details (5.6)

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: Low
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://bugzilla.redhat.com/show_bug.cgi?id=1906853

Release Date: 2020-12-11

Fix Resolution (node-notifier): 5.4.4

Direct dependency fix Resolution (jest): 22.0.5

Fix Resolution (node-notifier): 5.4.4

Direct dependency fix Resolution (jest): 22.0.5

Fix Resolution (node-notifier): 5.4.4

Direct dependency fix Resolution (jest): 22.0.5


⛑️ 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 WhiteSource label Jul 23, 2021
@mend-for-github-com mend-for-github-com bot changed the title CVE-2020-7789 (Medium) detected in multiple libraries CVE-2020-7789 (Medium) detected in multiple libraries - autoclosed Mar 22, 2022
@mend-for-github-com
Copy link
Author

✔️ This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.

@mend-for-github-com mend-for-github-com bot changed the title CVE-2020-7789 (Medium) detected in multiple libraries - autoclosed CVE-2020-7789 (Medium) detected in multiple libraries Mar 23, 2022
@mend-for-github-com mend-for-github-com bot reopened this Mar 23, 2022
@mend-for-github-com
Copy link
Author

ℹ️ This issue was automatically re-opened by WhiteSource because the vulnerable library in the specific branch(es) has been detected in the WhiteSource inventory.

Copy link
Author

✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

@mend-for-github-com mend-for-github-com bot changed the title CVE-2020-7789 (Medium) detected in multiple libraries CVE-2020-7789 (Medium) detected in multiple libraries - autoclosed May 5, 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 WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants