CVE-2018-16487
Prototype Pollution in lodash
Description
Versions of lodash before 4.17.11 are vulnerable to prototype pollution.
The vulnerable functions are 'defaultsDeep', 'merge', and 'mergeWith' which allow a malicious user to modify the prototype of Object via {constructor: {prototype: {...}}} causing the addition or modification of an existing property that will exist on all objects.
Recommendation
Update to version 4.17.11 or later.
Affected Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.mvnpm » lodashvia npm lodash | < 4.17.11 | 4.17.11 |
| org.webjars » lodashvia npm lodash | < 4.17.11 | 4.17.11 |
| org.webjars.npm » lodashvia npm lodash | < 4.17.11 | 4.17.11 |
Blast radius
60% of the dependent artifacts (94) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 483 |
| 2 hops | 778 |
| 3 hops | 423 |
| 4 hops | 179 |
| 5 hops | 12 |
| 6 hops | 6 |
Most used dependents
- org.carewebframework » org.carewebframework.shell70 usages
- org.fujion » fujion-core27 usages
- org.hspconsortium.carewebframework » cwf-ui-reporting17 usages
- com.foreach.across.modules » entity-module14 usages
- org.fujion » fujion-icons-core13 usages
- org.carewebframework » org.carewebframework.ui.core12 usages
- org.fujion » fujion-icons-test10 usages
- org.fujion » fujion-test9 usages
- br.com.jarch » jarch-framework8 usages
- com.foreach.across.modules » user-module7 usages
- org.carewebframework » org.carewebframework.web.core7 usages
- org.carewebframework » org.carewebframework.help.core6 usages
- org.carewebframework » org.carewebframework.ui.popupsupport6 usages
- org.carewebframework » org.carewebframework.ui.test6 usages
- org.webjars.npm » swagger-client6 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects npm (1 package) RubyGems (1 package) . See all on OSV
References
| Advisory | NVD CVE-2018-16487 | nvd.nist.gov |
| Web | lodash/lodash commit 90e6199 | github.com |
| Web | reports/380873 | hackerone.com |
| Web | rubysec/ruby-advisory-db CVE-2018-16487.yml | github.com |
| Web | advisory/ntap-20190919-0004 | security.netapp.com |
