cve.bz

CVE-2018-3728 hapijs hoek

8.8 highExploit referenceEPSS 4.2%Fix available

High (8.8) in hapijs hoek. EPSS 4.2% estimated probability of exploitation activity in the next 30 days. Fixed in hoek 4.2.1, 5.0.3.

On this page
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.

Severity

CVSS 3.0

8.8 high
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
4.2% (unchanged from 4.2% a week ago; 4.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-471 Modification of Assumed-Immutable Data (MAID)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-3728 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-3728?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-3728?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-3728 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
hapijs:hoekbefore 4.2.0
hapijs:hoekfrom 5.0.0 before 5.0.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jp4x-w63m-7wgmnpmhoek>=5.0.0 <5.0.35.0.3
GHSA-jp4x-w63m-7wgmnpmhoek<4.2.14.2.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14node-hoek5.0.3-1DEBIAN-CVE-2018-3728
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 4 morenode-hoekno fix listedUBUNTU-CVE-2018-3728
Red Hatmobile_application_platform:4.6fh-system-dump-tool0:1.0.0-5.el7RHSA-2018:1263
Red Hatmobile_application_platform:4.6fping, fping-debuginfo0:3.10-4.el7mapRHSA-2018:1263
Red Hatmobile_application_platform:4.6nagios, nagios-devel, nagios-common and 1 more0:4.0.8-8.el7mapRHSA-2018:1263
Red Hatmobile_application_platform:4.6nagios-plugins, nagios-plugins-nt, nagios-plugins-all and 54 more0:2.0.3-3.el7mapRHSA-2018:1263
Red Hatmobile_application_platform:4.6perl-Crypt-CBC0:2.33-2.el7mapRHSA-2018:1263
Red Hatmobile_application_platform:4.6perl-Crypt-DES, perl-Crypt-DES-debuginfo0:2.05-20.el7mapRHSA-2018:1263
Red Hatmobile_application_platform:4.6perl-Net-SNMP0:6.0.1-7.el7mapRHSA-2018:1263
Red Hatmobile_application_platform:4.6phantomjs, phantomjs-debuginfo0:1.9.7-3.el7mapRHSA-2018:1263
Red Hatmobile_application_platform:4.6python-meld3, python-meld3-debuginfo0:0.6.10-1.el7mapRHSA-2018:1263
Red Hatmobile_application_platform:4.6qstat, qstat-debuginfo0:2.11-13.20080912svn311.el7mapRHSA-2018:1263
Red Hatmobile_application_platform:4.6radiusclient-ng, radiusclient-ng-devel, radiusclient-ng-utils and 1 more0:0.5.6-9.el7mapRHSA-2018:1263
Red Hatmobile_application_platform:4.6redis, redis-debuginfo0:2.8.21-2.el7mapRHSA-2018:1263
5 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Low.

Red Hat's 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.

ProductPackageStateAdvisory
Red Hat Mobile Application Platform 4.6fh-system-dump-tool-0:1.0.0-5.el7Fixed 2018-04-30RHSA-2018:1263
Red Hat Mobile Application Platform 4.6fping-0:3.10-4.el7mapFixed 2018-04-30RHSA-2018:1263
Red Hat Mobile Application Platform 4.6nagios-0:4.0.8-8.el7mapFixed 2018-04-30RHSA-2018:1263
Red Hat Mobile Application Platform 4.6nagios-plugins-0:2.0.3-3.el7mapFixed 2018-04-30RHSA-2018:1263
Red Hat Mobile Application Platform 4.6perl-Crypt-CBC-0:2.33-2.el7mapFixed 2018-04-30RHSA-2018:1263
Red Hat Mobile Application Platform 4.6perl-Crypt-DES-0:2.05-20.el7mapFixed 2018-04-30RHSA-2018:1263
Red Hat Mobile Application Platform 4.6perl-Net-SNMP-0:6.0.1-7.el7mapFixed 2018-04-30RHSA-2018:1263
Red Hat Mobile Application Platform 4.6phantomjs-0:1.9.7-3.el7mapFixed 2018-04-30RHSA-2018:1263
Red Hat Mobile Application Platform 4.6python-meld3-0:0.6.10-1.el7mapFixed 2018-04-30RHSA-2018:1263
Red Hat Mobile Application Platform 4.6qstat-0:2.11-13.20080912svn311.el7mapFixed 2018-04-30RHSA-2018:1263
Red Hat Mobile Application Platform 4.6radiusclient-ng-0:0.5.6-9.el7mapFixed 2018-04-30RHSA-2018:1263
Red Hat Mobile Application Platform 4.6redis-0:2.8.21-2.el7mapFixed 2018-04-30RHSA-2018:1263
Red Hat Mobile Application Platform 4.6rhmap-fh-openshift-templates-0:4.6.0-5.el7Fixed 2018-04-30RHSA-2018:1263
Red Hat Enterprise Linux 8nodejs-hoekWill not fix
Red Hat OpenShift Enterprise 3nodejs-hoekWill not fix
Red Hat Software Collectionsrh-nodejs4-nodejs-hoekWill not fix
Red Hat Software Collectionsrh-nodejs6-nodejs-hoekWill not fix
Red Hat Virtualization 4ovirt-engine-api-explorerNot affected
Red Hat Virtualization 4ovirt-engine-dashboardNot affected
Red Hat Virtualization 4ovirt-engine-ui-extensionsNot affected
26 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-3728.

Attack patterns (CAPEC)

  • CAPEC-384 Application API Message Manipulation via Man-in-the-Middle Severity: Low
  • CAPEC-385 Transaction or Event Tampering via Application API Manipulation Severity: Medium
  • CAPEC-386 Application API Navigation Remapping Severity: Medium
  • CAPEC-387 Navigation Remapping To Propagate Malicious Content Severity: Medium
  • CAPEC-388 Application API Button Hijacking Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON