react icon indicating copy to clipboard operation
react copied to clipboard

CVE-2018-3728 Medium Severity Vulnerability detected by WhiteSource

Open mend-bolt-for-github[bot] opened this issue 7 years ago • 0 comments

CVE-2018-3728 - Medium Severity Vulnerability

Vulnerable Library - hoek-4.2.1.tgz

General purpose node utilities

path: /tmp/git/react/basic-redux-example[redux-thunk]/node_modules/hoek/package.json

Library home page: https://registry.npmjs.org/hoek/-/hoek-4.2.1.tgz

Dependency Hierarchy:

  • react-scripts-2.1.1.tgz (Root Library)
    • workbox-webpack-plugin-3.6.3.tgz
      • workbox-build-3.6.3.tgz
        • joi-11.4.0.tgz
          • :x: hoek-4.2.1.tgz (Vulnerable Library)

Vulnerability Details

hoek node module before 4.2.0 and 5.0.x before 5.0.3 suffers from a Modification of Assumed-Immutable Data (MAID) vulnerability via 'merge' and 'applyToDefaults' functions, which allows a malicious user to modify the prototype of "Object" via proto, causing the addition or modification of an existing property that will exist on all objects.

Publish Date: 2018-03-30

URL: CVE-2018-3728

CVSS 3 Score Details (6.5)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Change files

Origin: https://github.com/hapijs/hoek/commit/623667e4ed606841137af84173c588667c8e882d

Release Date: 2018-02-15

Fix Resolution: Replace or update the following files: index.js, index.js


Step up your Open Source Security Game with WhiteSource here