hoek: Prototype pollution in utilities function
Published Mar 30, 2018
8.8
HIGHCVSS 3.0
EPSS 4.19%
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.
Affected products
-
- Version Versions before 5.0.3StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Hapi | Hoek Node Module | n/a |
|
No data.
Red Hat Mobile Application Platform 4.6
fh-system-dump-tool-0:1.0.0-5.el7
Fixed · RHSA-2018:1263
Red Hat Mobile Application Platform 4.6
fping-0:3.10-4.el7map
Fixed · RHSA-2018:1263
Red Hat Mobile Application Platform 4.6
nagios-0:4.0.8-8.el7map
Fixed · RHSA-2018:1263
Red Hat Mobile Application Platform 4.6
nagios-plugins-0:2.0.3-3.el7map
Fixed · RHSA-2018:1263
Red Hat Mobile Application Platform 4.6
perl-Crypt-CBC-0:2.33-2.el7map
Fixed · RHSA-2018:1263
Red Hat Mobile Application Platform 4.6
perl-Crypt-DES-0:2.05-20.el7map
Fixed · RHSA-2018:1263
Red Hat Mobile Application Platform 4.6
perl-Net-SNMP-0:6.0.1-7.el7map
Fixed · RHSA-2018:1263
Red Hat Mobile Application Platform 4.6
phantomjs-0:1.9.7-3.el7map
Fixed · RHSA-2018:1263
Red Hat Mobile Application Platform 4.6
python-meld3-0:0.6.10-1.el7map
Fixed · RHSA-2018:1263
Red Hat Mobile Application Platform 4.6
qstat-0:2.11-13.20080912svn311.el7map
Fixed · RHSA-2018:1263
Red Hat Mobile Application Platform 4.6
radiusclient-ng-0:0.5.6-9.el7map
Fixed · RHSA-2018:1263
Red Hat Mobile Application Platform 4.6
redis-0:2.8.21-2.el7map
Fixed · RHSA-2018:1263
Red Hat Mobile Application Platform 4.6
rhmap-fh-openshift-templates-0:4.6.0-5.el7
Fixed · RHSA-2018:1263
Red Hat Mobile Application Platform 4.6
rhmap-mod_authnz_external-0:3.3.1-7.el7map
Fixed · RHSA-2018:1263
Red Hat Mobile Application Platform 4.6
rhmap46/fh-aaa:1.1.3-4
Fixed · RHSA-2018:1264
Red Hat Mobile Application Platform 4.6
rhmap46/fh-appstore:2.1.2-3
Fixed · RHSA-2018:1264
Red Hat Mobile Application Platform 4.6
rhmap46/fh-mbaas:6.0.3-2
Fixed · RHSA-2018:1264
Red Hat Mobile Application Platform 4.6
rhmap46/fh-messaging:3.2.0-4
Fixed · RHSA-2018:1264
Red Hat Mobile Application Platform 4.6
rhmap46/fh-metrics:3.2.0-5
Fixed · RHSA-2018:1264
Red Hat Mobile Application Platform 4.6
rhmap46/fh-ngui:5.19.3-1
Fixed · RHSA-2018:1264
Red Hat Mobile Application Platform 4.6
rhmap46/fh-scm:1.1.4-2
Fixed · RHSA-2018:1264
Red Hat Mobile Application Platform 4.6
rhmap46/fh-sdks:1.0.0-36
Fixed · RHSA-2018:1264
Red Hat Mobile Application Platform 4.6
rhmap46/fh-statsd:2.1.3-4
Fixed · RHSA-2018:1264
Red Hat Mobile Application Platform 4.6
rhmap46/fh-supercore:5.0.10-2
Fixed · RHSA-2018:1264
Red Hat Mobile Application Platform 4.6
rhmap46/gitlab-shell:2.1.2-16
Fixed · RHSA-2018:1264
Red Hat Mobile Application Platform 4.6
rhmap46/httpd:2.4-47
Fixed · RHSA-2018:1264
Red Hat Mobile Application Platform 4.6
rhmap46/installer:1.0.0-42
Fixed · RHSA-2018:1264
Red Hat Mobile Application Platform 4.6
rhmap46/memcached:1.4.15-32
Fixed · RHSA-2018:1264
Red Hat Mobile Application Platform 4.6
rhmap46/millicore:7.55.0-4
Fixed · RHSA-2018:1264
Red Hat Mobile Application Platform 4.6
rhmap46/mongodb:3.2-36
Fixed · RHSA-2018:1264
Red Hat Mobile Application Platform 4.6
rhmap46/mysql:5.5-28
Fixed · RHSA-2018:1264
Red Hat Mobile Application Platform 4.6
rhmap46/nagios:4.0.8-58
Fixed · RHSA-2018:1264
Red Hat Mobile Application Platform 4.6
rhmap46/redis:2.8.21-40
Fixed · RHSA-2018:1264
Red Hat Mobile Application Platform 4.6
rhmap46/ups-eap:1.1.4-35
Fixed · RHSA-2018:1264
Red Hat Mobile Application Platform 4.6
rhmap46/wildcard-proxy:1.0.0-17
Fixed · RHSA-2018:1264
Red Hat Mobile Application Platform 4.6
sendEmail-0:1.56-2.el7
Fixed · RHSA-2018:1263
Red Hat Mobile Application Platform 4.6
ssmtp-0:2.64-14.el7map
Fixed · RHSA-2018:1263
Red Hat Mobile Application Platform 4.6
supervisor-0:3.1.3-3.el7map
Fixed · RHSA-2018:1263
Red Hat Quay 3
quay/quay-rhel8:v3.6.0-62
Fixed · RHSA-2021:3917
Red Hat Enterprise Linux 8
nodejs-hoek
Will not fix
Red Hat OpenShift Enterprise 3
nodejs-hoek
Will not fix
Red Hat Software Collections
rh-nodejs4-nodejs-hoek
Will not fix
Red Hat Software Collections
rh-nodejs6-nodejs-hoek
Will not fix
Red Hat Virtualization 4
ovirt-engine-api-explorer
Not affected
Red Hat Virtualization 4
ovirt-engine-dashboard
Not affected
Red Hat Virtualization 4
ovirt-engine-ui-extensions
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Mobile Application Platform 4.6 | fh-system-dump-tool-0:1.0.0-5.el7 | Fixed | RHSA-2018:1263 |
| Red Hat Mobile Application Platform 4.6 | fping-0:3.10-4.el7map | Fixed | RHSA-2018:1263 |
| Red Hat Mobile Application Platform 4.6 | nagios-0:4.0.8-8.el7map | Fixed | RHSA-2018:1263 |
| Red Hat Mobile Application Platform 4.6 | nagios-plugins-0:2.0.3-3.el7map | Fixed | RHSA-2018:1263 |
| Red Hat Mobile Application Platform 4.6 | perl-Crypt-CBC-0:2.33-2.el7map | Fixed | RHSA-2018:1263 |
| Red Hat Mobile Application Platform 4.6 | perl-Crypt-DES-0:2.05-20.el7map | Fixed | RHSA-2018:1263 |
| Red Hat Mobile Application Platform 4.6 | perl-Net-SNMP-0:6.0.1-7.el7map | Fixed | RHSA-2018:1263 |
| Red Hat Mobile Application Platform 4.6 | phantomjs-0:1.9.7-3.el7map | Fixed | RHSA-2018:1263 |
| Red Hat Mobile Application Platform 4.6 | python-meld3-0:0.6.10-1.el7map | Fixed | RHSA-2018:1263 |
| Red Hat Mobile Application Platform 4.6 | qstat-0:2.11-13.20080912svn311.el7map | Fixed | RHSA-2018:1263 |
| Red Hat Mobile Application Platform 4.6 | radiusclient-ng-0:0.5.6-9.el7map | Fixed | RHSA-2018:1263 |
| Red Hat Mobile Application Platform 4.6 | redis-0:2.8.21-2.el7map | Fixed | RHSA-2018:1263 |
| Red Hat Mobile Application Platform 4.6 | rhmap-fh-openshift-templates-0:4.6.0-5.el7 | Fixed | RHSA-2018:1263 |
| Red Hat Mobile Application Platform 4.6 | rhmap-mod_authnz_external-0:3.3.1-7.el7map | Fixed | RHSA-2018:1263 |
| Red Hat Mobile Application Platform 4.6 | rhmap46/fh-aaa:1.1.3-4 | Fixed | RHSA-2018:1264 |
| Red Hat Mobile Application Platform 4.6 | rhmap46/fh-appstore:2.1.2-3 | Fixed | RHSA-2018:1264 |
| Red Hat Mobile Application Platform 4.6 | rhmap46/fh-mbaas:6.0.3-2 | Fixed | RHSA-2018:1264 |
| Red Hat Mobile Application Platform 4.6 | rhmap46/fh-messaging:3.2.0-4 | Fixed | RHSA-2018:1264 |
| Red Hat Mobile Application Platform 4.6 | rhmap46/fh-metrics:3.2.0-5 | Fixed | RHSA-2018:1264 |
| Red Hat Mobile Application Platform 4.6 | rhmap46/fh-ngui:5.19.3-1 | Fixed | RHSA-2018:1264 |
| Red Hat Mobile Application Platform 4.6 | rhmap46/fh-scm:1.1.4-2 | Fixed | RHSA-2018:1264 |
| Red Hat Mobile Application Platform 4.6 | rhmap46/fh-sdks:1.0.0-36 | Fixed | RHSA-2018:1264 |
| Red Hat Mobile Application Platform 4.6 | rhmap46/fh-statsd:2.1.3-4 | Fixed | RHSA-2018:1264 |
| Red Hat Mobile Application Platform 4.6 | rhmap46/fh-supercore:5.0.10-2 | Fixed | RHSA-2018:1264 |
| Red Hat Mobile Application Platform 4.6 | rhmap46/gitlab-shell:2.1.2-16 | Fixed | RHSA-2018:1264 |
| Red Hat Mobile Application Platform 4.6 | rhmap46/httpd:2.4-47 | Fixed | RHSA-2018:1264 |
| Red Hat Mobile Application Platform 4.6 | rhmap46/installer:1.0.0-42 | Fixed | RHSA-2018:1264 |
| Red Hat Mobile Application Platform 4.6 | rhmap46/memcached:1.4.15-32 | Fixed | RHSA-2018:1264 |
| Red Hat Mobile Application Platform 4.6 | rhmap46/millicore:7.55.0-4 | Fixed | RHSA-2018:1264 |
| Red Hat Mobile Application Platform 4.6 | rhmap46/mongodb:3.2-36 | Fixed | RHSA-2018:1264 |
| Red Hat Mobile Application Platform 4.6 | rhmap46/mysql:5.5-28 | Fixed | RHSA-2018:1264 |
| Red Hat Mobile Application Platform 4.6 | rhmap46/nagios:4.0.8-58 | Fixed | RHSA-2018:1264 |
| Red Hat Mobile Application Platform 4.6 | rhmap46/redis:2.8.21-40 | Fixed | RHSA-2018:1264 |
| Red Hat Mobile Application Platform 4.6 | rhmap46/ups-eap:1.1.4-35 | Fixed | RHSA-2018:1264 |
| Red Hat Mobile Application Platform 4.6 | rhmap46/wildcard-proxy:1.0.0-17 | Fixed | RHSA-2018:1264 |
| Red Hat Mobile Application Platform 4.6 | sendEmail-0:1.56-2.el7 | Fixed | RHSA-2018:1263 |
| Red Hat Mobile Application Platform 4.6 | ssmtp-0:2.64-14.el7map | Fixed | RHSA-2018:1263 |
| Red Hat Mobile Application Platform 4.6 | supervisor-0:3.1.3-3.el7map | Fixed | RHSA-2018:1263 |
| Red Hat Quay 3 | quay/quay-rhel8:v3.6.0-62 | Fixed | RHSA-2021:3917 |
| Red Hat Enterprise Linux 8 | nodejs-hoek | Will not fix | n/a |
| Red Hat OpenShift Enterprise 3 | nodejs-hoek | Will not fix | n/a |
| Red Hat Software Collections | rh-nodejs4-nodejs-hoek | Will not fix | n/a |
| Red Hat Software Collections | rh-nodejs6-nodejs-hoek | Will not fix | n/a |
| Red Hat Virtualization 4 | ovirt-engine-api-explorer | Not affected | n/a |
| Red Hat Virtualization 4 | ovirt-engine-dashboard | Not affected | n/a |
| Red Hat Virtualization 4 | ovirt-engine-ui-extensions | Not affected | n/a |
hoek
npm
Introduced 5.0.0 Fixed 5.0.3hoek
npm
Introduced 0 Fixed 4.2.1
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | hoek | 5.0.0 | 5.0.3 |
| npm | hoek | 0 | 4.2.1 |
Remediation
Red Hat statement
Red Hat Quay includes hoek as a dependency of protractor which is only used at build time. The vulnerable library is not used at runtime meaning this has a low impact on Red Hat Quay.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
AV:N/AC:L/Au:S/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (48 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 4.19% (0.04190) | 90.62th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.23% (0.04226) | 89.69th | v5 (v2026.06.15) |
| Mar 4, 2026 | 1.68% (0.01675) | 81.86th | v4 (v2025.03.14) |
| Mar 1, 2026 | 0.56% (0.00555) | 67.84th | v4 (v2025.03.14) |
| Feb 4, 2026 | 1.68% (0.01675) | 81.76th | v4 (v2025.03.14) |
| Feb 1, 2026 | 0.56% (0.00555) | 67.69th | v4 (v2025.03.14) |
| Jan 4, 2026 | 1.68% (0.01675) | 81.69th | v4 (v2025.03.14) |
| Jan 1, 2026 | 0.56% (0.00555) | 67.63th | v4 (v2025.03.14) |
| Dec 4, 2025 | 1.68% (0.01675) | 81.58th | v4 (v2025.03.14) |
| Dec 1, 2025 | 0.56% (0.00555) | 67.35th | v4 (v2025.03.14) |
| Nov 21, 2025 | 1.68% (0.01675) | 81.58th | v4 (v2025.03.14) |
| Nov 18, 2025 | 4.72% (0.04716) | 88.30th | v4 (v2025.03.14) |
| Nov 4, 2025 | 1.68% (0.01675) | 81.53th | v4 (v2025.03.14) |
| Nov 1, 2025 | 0.56% (0.00555) | 67.38th | v4 (v2025.03.14) |
| Oct 4, 2025 | 1.76% (0.01763) | 81.95th | v4 (v2025.03.14) |
| Oct 1, 2025 | 0.58% (0.00585) | 68.23th | v4 (v2025.03.14) |
| Sep 4, 2025 | 1.76% (0.01763) | 81.90th | v4 (v2025.03.14) |
| Sep 1, 2025 | 0.58% (0.00585) | 68.22th | v4 (v2025.03.14) |
| Aug 5, 2025 | 1.76% (0.01763) | 81.83th | v4 (v2025.03.14) |
| Aug 1, 2025 | 0.58% (0.00585) | 68.22th | v4 (v2025.03.14) |
| Jul 4, 2025 | 1.76% (0.01763) | 81.79th | v4 (v2025.03.14) |
| Jul 1, 2025 | 0.58% (0.00585) | 68.18th | v4 (v2025.03.14) |
| Jun 4, 2025 | 1.76% (0.01763) | 81.69th | v4 (v2025.03.14) |
| Jun 1, 2025 | 0.58% (0.00585) | 68.05th | v4 (v2025.03.14) |
| May 9, 2025 | 1.76% (0.01763) | 81.59th | v4 (v2025.03.14) |
| May 1, 2025 | 0.58% (0.00585) | 67.94th | v4 (v2025.03.14) |
| Apr 18, 2025 | 1.81% (0.01815) | 81.83th | v4 (v2025.03.14) |
| Apr 17, 2025 | 0.60% (0.00605) | 68.35th | v4 (v2025.03.14) |
| Apr 4, 2025 | 1.81% (0.01815) | 81.30th | v4 (v2025.03.14) |
| Apr 3, 2025 | 0.60% (0.00605) | 67.19th | v4 (v2025.03.14) |
| Mar 30, 2025 | 1.81% (0.01815) | 81.22th | v4 (v2025.03.14) |
| Mar 29, 2025 | 4.73% (0.04732) | 81.96th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.81% (0.01815) | 81.63th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.02% (0.01021) | 84.47th | v3 (v2023.03.01) |
| Aug 13, 2024 | 1.02% (0.01021) | 84.05th | v3 (v2023.03.01) |
| Aug 11, 2024 | 2.68% (0.02683) | 90.59th | v3 (v2023.03.01) |
| Oct 24, 2023 | 1.02% (0.01021) | 82.11th | v3 (v2023.03.01) |
| Aug 21, 2023 | 1.17% (0.01173) | 83.21th | v3 (v2023.03.01) |
| Jul 8, 2023 | 1.19% (0.01190) | 83.22th | v3 (v2023.03.01) |
| Mar 24, 2023 | 0.78% (0.00782) | 78.71th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.82% (0.00822) | 79.27th | v3 (v2023.03.01) |
| Mar 6, 2023 | 16.91% (0.16910) | 96.20th | v2 (v2022.01.01) |
| Apr 1, 2022 | 16.91% (0.16910) | 95.84th | v2 (v2022.01.01) |
| Feb 4, 2022 | 16.91% (0.16910) | 93.01th | v2 (v2022.01.01) |
| Feb 3, 2022 | 7.04% (0.07038) | 83.71th | v1 |
| Jan 6, 2022 | 7.04% (0.07038) | 83.55th | v1 |
| Sep 1, 2021 | 7.04% (0.07038) | 91.20th | v1 |
| Apr 14, 2021 | 7.04% (0.07038) | 0.00th | v1 |
References (14)
- http://www.securityfocus.com/bid/103108 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:1263 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1264 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2018-3728 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1545893 Issue Tracking
- https://github.com/advisories/GHSA-jp4x-w63m-7wgm Advisory
- https://github.com/hapijs/hoek/commit/32ed5c9413321fbc37da5ca81a7cbab693786dee x_refsource_CONFIRMPatchThird Party Advisory
- https://github.com/hapijs/hoek/commit/5aed1a8c4a3d55722d1c799f2368857bf418d6df
- https://hackerone.com/reports/310439 x_refsource_MISCExploitThird Party Advisory
- https://nodesecurity.io/advisories/566 x_refsource_CONFIRMBroken Link
- https://nvd.nist.gov/vuln/detail/CVE-2018-3728
- https://snyk.io/vuln/npm:hoek:20180212 x_refsource_MISCExploitPatchThird Party Advisory
- https://web.archive.org/web/20200227131737/https://www.securityfocus.com/bid/103108
- https://www.cve.org/CVERecord?id=CVE-2018-3728
Change history (0)
No recorded changes yet.