9.8crit

CVE-2018-3750

Prototype Pollution in deep-extend

Also known as GHSA-hr2v-3952-633q

Published 8 y ago · modified 4 mo ago · JSON

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

Summary

The utilities function in all versions <= 0.5.0 of the deep-extend 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)

2.15% probability of exploitation in the next 30 days, higher than 82% 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
npmdeep-extend
<0.5.1
0.5.1

Classification

Weakness
  • CWE-20 Improper Input Validation

References

  • hackerone.com /reports/311333 · x_refsource_MISC, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2018-3750 · advisory
  • github.com /unclechu/node-deep-extend/commit/9423fae877e2ab6b4aecc4db79a0ed63039d4703 · web
  • github.com /advisories/GHSA-hr2v-3952-633q · advisory
  • npmjs.com /advisories/612 · web

Sources

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