CVE-2018-3728

HIGH

hoek < 4.2.0 and 5.0.x < 5.0.3 - Prototype Pollution via merge and applyToDefaults Functions

Title source: llm
STIX 2.1

Description

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.

References (7)

Core 7
Core References
Exploit, Third Party Advisory x_refsource_misc
https://hackerone.com/reports/310439
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/103108
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:1264
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:1263
Exploit, Patch, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/npm:hoek:20180212
Broken Link x_refsource_confirm
https://nodesecurity.io/advisories/566

Scores

CVSS v3 8.8
EPSS 0.0431
EPSS Percentile 90.0%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-471
Status published
Products (2)
hapijs/hoek < 4.2.0
npm/hoek 5.0.0 - 5.0.3npm
Published Mar 30, 2018
Tracked Since Feb 18, 2026