9.8crit

CVE-2018-3752

Prototype Pollution in merge-options

Also known as GHSA-qw93-45r3-p66p

Published 8 y ago · modified 4 mo ago · JSON

CVSS
9.8
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
1.4%
percentile 73%
Public exploits
0
none known

Summary

The utilities function in all versions <= 1.0.0 of the merge-options node module can be tricked into modifying the prototype of Object when the attacker can control part of the structure passed to this function. This can let an attacker add or modify existing properties that will exist on all objects.

Exploit prediction (EPSS)

1.43% probability of exploitation in the next 30 days, higher than 73% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.09.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD2.07.5AV:N/AC:L/Au:N/C:P/I:P/A:P
GitHub3.09.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

EcosystemPackageAffectedFixed in
npmmerge-options
<1.0.1
1.0.1

Classification

Weakness
  • CWE-20 Improper Input Validation

References

  • hackerone.com /reports/311336 · x_refsource_MISC, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2018-3752 · advisory
  • github.com /schnittstabil/merge-options/commit/d4a93bc2890455e0931ac0779667023e6cb101d4 · web
  • github.com /advisories/GHSA-qw93-45r3-p66p · advisory
  • github.com /schnittstabil/merge-options · package
  • npmjs.com /advisories/717 · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.