Severity
Severity not reported.
Affected versions
| Affected | Fixed in |
|---|---|
| All versions before 4.17.11 | 4.17.11Advisories → |
| Affected | Fixed in |
|---|---|
| All versions before 4.17.11 | 4.17.11Advisories → |
Also listed as affected (52) | |
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.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2018-16487 ↗
- Webgithub.com/lodash/lodash/commit/90e6199a161b6445b01454517b40ef65ebecd2ad ↗
- Webhackerone.com/reports/380873 ↗
- Webgithub.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2018-16487.yml ↗
- Websecurity.netapp.com/advisory/ntap-20190919-0004 ↗