CVE-2018-3728
Hapijs Hoek vulnerability
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.
Affected products
Hoek. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Hapijs Hoek runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/hapijs/hoek/commit/32ed5c9413321fbc37da5ca81a7cbab693786dee · Patch
- snyk.io/vuln/npm:hoek:20180212 · Exploit
- www.securityfocus.com/bid/103108 · Third Party Advisory
- access.redhat.com/errata/RHSA-2018:1263 · Third Party Advisory
- access.redhat.com/errata/RHSA-2018:1264 · Third Party Advisory
- hackerone.com/reports/310439 · Exploit
- nodesecurity.io/advisories/566
- nvd.nist.gov/vuln/detail/CVE-2018-3728
- nvd.nist.gov/vuln/detail/CVE-2018-3728
- cve.org/CVERecord?id=CVE-2018-3728
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.