Skip to main content
No exploitation reportedFix available

CVE-2018-3728

No exploitation reported by the sources we read.

  • Published2018-03-30
  • Fixed in5.0.3 · 4.2.1 · 4.2.0
  • WeaknessCWE-471

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2018-03-3019:29CVE publishedNVD

Versions per branch

NVD · OSV
Hapijs hoek
BranchAffectedFixed in
5.0≥ 5.0.0, < 5.0.35.0.3
4.2< 4.2.14.2.1
4.2< 4.2.04.2.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • @rootio/hoekRoot:npmall versions · fixed in 2.16.3-root.io.1
  • fh-system-dump-toolRed Hat:mobile_application_platform:4.6all versions · fixed in 0:1.0.0-5.el7
  • fpingRed Hat:mobile_application_platform:4.6all versions · fixed in 0:3.10-4.el7mapand 1 other package
  • hoekTuxCare:npmfrom 2.11.1-tuxcare.0 · fixed in 2.11.1-tuxcare.1
  • hoekTuxCare:npmfrom 2.12.0-tuxcare.0 · fixed in 2.12.0-tuxcare.1
  • hoekTuxCare:npmfrom 2.14.0-tuxcare.0 · fixed in 2.14.0-tuxcare.1
  • hoekTuxCare:npmfrom 2.16.3-tuxcare.0 · fixed in 2.16.3-tuxcare.1
  • hoekTuxCare:npmfrom 0.8.5-tuxcare.0 · fixed in 0.8.5-tuxcare.1

27 more package ranges on OSV.dev

Vendor advisories

  • CVE-2018-3728 Red Hat Product Security126 products fixed · 5 known affected

    hoek: Prototype pollution in utilities function

    nodejs-hoek.src as a component of Red Hat Enterprise Linux 8 · nodejs-hoek as a component of Red Hat OpenShift Enterprise 3 · nodejs-hoek.src as a component of Red Hat OpenShift Enterprise 3 · +2 more

  • RHSA-2021:3917 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Quay v3.6.0 security, bug fix and enhancement update

  • RHSA-2018:1263 Red Hat Product Security104 products fixed

    Red Hat Security Advisory: Red Hat Mobile Application Platform 4.6.0 release - RPMs

  • RHSA-2018:1264 Red Hat Product Security21 products fixed

    Red Hat Security Advisory: Red Hat Mobile Application Platform 4.6.0 Release - Container Images

Full record on NVD

Fix

  1. Update Hapijs hoek to 5.0.3 · 4.2.1 · 4.2.0
  2. Vendor fix Red Hat Product Security RHSA-2021:3917 · 1 productFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  3. Vendor fix Red Hat Product Security RHSA-2018:1263 · 104 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  4. Vendor fix Red Hat Product Security RHSA-2018:1264 · 21 productsThe container images provided by this update can be downloaded from the Red Hat Container Registry at registry.access.redhat.com using the docker pull command. Dockerfiles and scripts should be amended either to refer to these new images specifically, or to the latest images generally.
  5. No fix planned, says the vendor Red Hat Product Security CVE-2018-3728 · 5 productsWill not fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVSS 3.08.8read 2026-10-23
  • NVDCVSS 2.06.5read 2026-10-23
  • CNAweakness (CWE)CWE-471known since 2026-10-23
  • NVDweakness (CWE)CWE-471read 2026-10-23
  • FIRST EPSSEPSS score4.2 %2026-12-04
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHigh2020-06-16

Identifiers

Technical details

CVSS v3 vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2018-03-30
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-jp4x-w63m-7wgm

Frequently asked questions

What is CVE-2018-3728?

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.

Is CVE-2018-3728 actively exploited?

Active exploitation of CVE-2018-3728 has not been confirmed. Its EPSS score was 4.2% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2018-3728?

CVE-2018-3728 has a CVSS v3 base score of 8.8 (High severity), with vector string CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running hoek? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record