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.
CVE-2018-3728 - High Severity Vulnerability
Vulnerable Libraries - hoek-0.8.5.tgz, hoek-0.9.1.tgz
hoek-0.8.5.tgz
General purpose node utilities
Library home page: https://registry.npmjs.org/hoek/-/hoek-0.8.5.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/npm2es/node_modules/hoek/package.json
Dependency Hierarchy: - npm2es-0.4.5.tgz (Root Library) - request-2.21.0.tgz - hawk-0.13.1.tgz - :x: **hoek-0.8.5.tgz** (Vulnerable Library)
hoek-0.9.1.tgz
General purpose node utilities
Library home page: https://registry.npmjs.org/hoek/-/hoek-0.9.1.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/hoek/package.json
Dependency Hierarchy: - request-2.30.0.tgz (Root Library) - hawk-1.0.0.tgz - :x: **hoek-0.9.1.tgz** (Vulnerable Library)
Found in HEAD commit: d78b9e5410cf312856c3d176abc7fe70ea70dc53
Found in base branch: master
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 (8.8)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - 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: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-16082
Release Date: 2018-03-30
Fix Resolution (hoek): 4.2.0
Direct dependency fix Resolution (request): 2.82.0
Step up your Open Source Security Game with Mend here