GHSA-779f-wgxg-qr8f
high
Prototype Pollution in lodash.mergewith
- Severity
- high rating by GitHub
- Published
- Last changed
Description
Versions of lodash.mergewith before 4.6.2 are vulnerable to prototype pollution. The function mergeWith may 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.6.2 or later.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| lodash.mergewith (npm) | before 4.6.2 | GitHub Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-779f-wgxg-qr8f changed 2020-08-31 | CC-BY-4.0 |