GHSA-779f-wgxg-qr8f

Suggest an improvement
Source
https://github.com/advisories/GHSA-779f-wgxg-qr8f
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-779f-wgxg-qr8f/GHSA-779f-wgxg-qr8f.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-779f-wgxg-qr8f
Published
2020-09-03T18:10:22Z
Modified
2020-08-31T18:46:16Z
Summary
Prototype Pollution in lodash.mergewith
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-1321"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-08-31T18:46:16Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

npm / lodash.mergewith

Package

Name
lodash.mergewith
View open source insights on deps.dev
Purl
pkg:npm/lodash.mergewith

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
4.6.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-779f-wgxg-qr8f/GHSA-779f-wgxg-qr8f.json"