lodash: Prototype pollution in utilities function
Published Jun 7, 2018
6.5
MEDIUMCVSS 3.1
EPSS 2.38%
Description
lodash node module before 4.17.5 suffers from a Modification of Assumed-Immutable Data (MAID) vulnerability via defaultsDeep, merge, and mergeWith 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.
Affected products
-
- Version Versions before 4.17.5StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| HackerOne | Lodash Node Module | n/a |
|
Configuration 2
- n/a
- n/a
- n/a
- 9.0
No data.
Red Hat Quay 3
quay/quay-rhel8:v3.6.0-62
Fixed · RHSA-2021:3917
CloudForms Management Engine 5
lodash-rails
Will not fix
Red Hat Mobile Application Platform 4
nodejs-lodash
Not affected
Red Hat OpenShift Enterprise 3
nodejs-lodash
Will not fix
Red Hat Virtualization 4
ovirt-engine-api-explorer
Not affected
Red Hat Virtualization 4
ovirt-engine-dashboard
Out of support scope
Red Hat Virtualization 4
ovirt-engine-ui-extensions
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Quay 3 | quay/quay-rhel8:v3.6.0-62 | Fixed | RHSA-2021:3917 |
| CloudForms Management Engine 5 | lodash-rails | Will not fix | n/a |
| Red Hat Mobile Application Platform 4 | nodejs-lodash | Not affected | n/a |
| Red Hat OpenShift Enterprise 3 | nodejs-lodash | Will not fix | n/a |
| Red Hat Virtualization 4 | ovirt-engine-api-explorer | Not affected | n/a |
| Red Hat Virtualization 4 | ovirt-engine-dashboard | Out of support scope | n/a |
| Red Hat Virtualization 4 | ovirt-engine-ui-extensions | Not affected | n/a |
lodash
npm
Introduced 0 Fixed 4.17.5lodash-rails
RubyGems
Introduced 0 Fixed 4.17.5
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | lodash | 0 | 4.17.5 |
| RubyGems | lodash-rails | 0 | 4.17.5 |
Remediation
Red Hat statement
Red Hat CloudForms version 4.7 does not ship component lodash, so isn't affected by this flaw. Red Hat Virtualization 4.2 EUS includes a vulnerable version of lodash as part of the ovirt-engine-dashboard package. This package has been removed from Red Hat Virtualization 4.3.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
AV:N/AC:L/Au:S/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (14 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.38% (0.02384) | 83.30th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.41% (0.02413) | 81.92th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.21% (0.00206) | 40.73th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.12% (0.00122) | 48.22th | v3 (v2023.03.01) |
| Oct 28, 2023 | 0.12% (0.00121) | 46.13th | v3 (v2023.03.01) |
| May 31, 2023 | 0.10% (0.00097) | 39.39th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.07% (0.00074) | 29.92th | v3 (v2023.03.01) |
| Mar 6, 2023 | 5.37% (0.05372) | 89.93th | v2 (v2022.01.01) |
| Apr 1, 2022 | 5.37% (0.05372) | 88.95th | v2 (v2022.01.01) |
| Feb 4, 2022 | 5.37% (0.05372) | 76.24th | v2 (v2022.01.01) |
| Feb 3, 2022 | 3.63% (0.03630) | 71.73th | v1 |
| Jan 6, 2022 | 3.63% (0.03630) | 71.48th | v1 |
| Sep 1, 2021 | 3.63% (0.03630) | 82.60th | v1 |
| Apr 14, 2021 | 3.63% (0.03630) | 0.00th | v1 |
References (9)
- https://access.redhat.com/security/cve/CVE-2018-3721 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1545884 Issue Tracking
- https://github.com/advisories/GHSA-fvqr-27wr-82fm Advisory
- https://github.com/lodash/lodash/commit/d8e069cc3410082e44eb18fcf8e7f3d08ebe1d4a x_refsource_MISCPatch
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2018-3721.yml
- https://hackerone.com/reports/310443 x_refsource_MISCExploitThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-3721
- https://security.netapp.com/advisory/ntap-20190919-0004 x_refsource_CONFIRMThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-3721
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2018-3721 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1545884 | Issue Tracking | |
| https://github.com/advisories/GHSA-fvqr-27wr-82fm | Advisory | |
| https://github.com/lodash/lodash/commit/d8e069cc3410082e44eb18fcf8e7f3d08ebe1d4a | x_refsource_MISCPatch | |
| https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2018-3721.yml | ||
| https://hackerone.com/reports/310443 | x_refsource_MISCExploitThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-3721 | ||
| https://security.netapp.com/advisory/ntap-20190919-0004 | x_refsource_CONFIRMThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2018-3721 |
Change history (0)
No recorded changes yet.