CVE-2018-3750 json
Prototype Pollution in deep-extend
published 2018-07-03 8 y ago modified 2026-06-17 4 mo ago also GHSA-hr2v-3952-633q , EUVD-2018-0617
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 81%
- 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.
Patch / fix
- npm deep-extend 0.5.1
- node-deep-extend Debian 14, Debian 13, Debian 12 0.4.1-2
debian advisories DEBIAN-CVE-2018-3750
- rh-nodejs12-nodejs RHEL 3 SOFTWARE_COLLECTIONS 12.20.1-1.el7
- rh-nodejs12-npm RHEL 3 SOFTWARE_COLLECTIONS 6.14.10-12.20.1.1.el7
- rh-nodejs12-nodejs-nodemon RHEL 3 SOFTWARE_COLLECTIONS 2.0.3-1.el7
- npm RHEL 8 1:6.14.10-1.12.20.1.1.module+el8.3.0+9503+19cb079c
- nodejs RHEL 8 1:12.20.1-1.module+el8.3.0+9503+19cb079c
- nodejs-nodemon RHEL 8 2.0.3-1.module+el8.3.0+9715+1718613f
- nodejs-full-i18n RHEL 8 1:12.20.1-1.module+el8.3.0+9503+19cb079c
- nodejs-packaging RHEL 8 17-3.module+el8.1.0+3369+37ae6a45
red hat advisories RHSA-2021:0485RHSA-2021:0549RHSA-2020:2625
- nodejs-nodemon AlmaLinux 8 2.0.3-1.module_el8.4.0+2521+c668cc9f
- nodejs-packaging AlmaLinux 8 17-3.module_el8.4.0+2224+b07ac28e
- nodejs-packaging AlmaLinux 8 17-3.module_el8.4.0+2521+c668cc9f
- nodejs-packaging AlmaLinux 8 17-3.module_el8.3.0+2023+d2377ea3
almalinux advisories ALSA-2021:0549
- nodejs-nodemon Rocky Linux 8 2.0.3-1.module+el8.6.0+982+9fdca2d4
- nodejs-nodemon Rocky Linux 8 2.0.3-1.module+el8.3.0+100+234774f7
- nodejs-nodemon Rocky Linux 8 2.0.3-1.module+el8.4.0+638+5344c6f7
- nodejs-packaging Rocky Linux 8 17-3.module+el8.3.0+101+f84c7154
rocky linux advisories RLSA-2021:0549
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-3750 updated cvss 4.2
nodejs-deep-extend: Prototype pollution can allow attackers to modify object properties
-
Red Hat Enterprise Linux 8 nodejs-nodemonaffected: no fix available “Fix deferred”
-
Red Hat Software Collections rh-nodejs10-nodejs-nodemon, rh-nodejs4-nodejs-deep-extend, rh-nodejs6-nodejs-deep-extendaffected: no fix available, no fix planned “Will not fix”
-
Red Hat Enterprise Linux AppStream (v. 8) nodejs 12.20.1-1.module+el8.3.0+9503+19cb079c, nodejs-packaging 17-3.module+el8.1.0+3369+37ae6a45, nodejs-nodemon 2.0.3-1.module+el8.3.0+9715+1718613f, npm 6.14.10-1.12.20.1.1.module+el8.3.0+9503+19cb079c, nodejs-full-i18n 12.20.1-1.module+el8.3.0+9503+19cb079cfixed: vendor fix RHSA-2021:0549
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-nodejs8-nodejs 8.17.0-2.el7, rh-nodejs12-nodejs 12.20.1-1.el7, rh-nodejs8-npm 6.13.4-8.17.0.2.el7, rh-nodejs12-npm 6.14.10-12.20.1.1.el7, rh-nodejs12-nodejs-nodemon 2.0.3-1.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-nodejs8-nodejs 8.17.0-2.el7, rh-nodejs12-nodejs 12.20.1-1.el7, rh-nodejs8-npm 6.13.4-8.17.0.2.el7, rh-nodejs12-npm 6.14.10-12.20.1.1.el7, rh-nodejs12-nodejs-nodemon 2.0.3-1.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-nodejs8-nodejs 8.17.0-2.el7, rh-nodejs12-nodejs 12.20.1-1.el7, rh-nodejs8-npm 6.13.4-8.17.0.2.el7, rh-nodejs12-npm 6.14.10-12.20.1.1.el7, rh-nodejs12-nodejs-nodemon 2.0.3-1.el7 Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-nodejs8-nodejs 8.17.0-2.el7, rh-nodejs12-nodejs 12.20.1-1.el7, rh-nodejs8-npm 6.13.4-8.17.0.2.el7, rh-nodejs12-npm 6.14.10-12.20.1.1.el7, rh-nodejs12-nodejs-nodemon 2.0.3-1.el7fixed: vendor fix RHSA-2020:2625
-
Red Hat Mobile Application Platform 4 nodejs-deep-extend Red Hat OpenShift Enterprise 3 nodejs-deep-extendnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.11% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- hackerone.com https://hackerone.com/reports/311333 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | deep-extend | <0.5.1 |
0.5.1 |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/unclechu/node-deep-extend/commit/9423fae877e2ab6b4aecc4db79a0ed63039d4703
web
-
hackerone.com
/reports/311333
web, exploit, issue-tracking, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-3750
advisory
-
github.com
/advisories/GHSA-hr2v-3952-633q
advisory
-
npmjs.com
/advisories/612
web
Sources
- CVE List CVE-2018-3750
- GitHub Advisory GHSA-hr2v-3952-633q
- NVD CVE-2018-3750
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.