GHSA-h726-x36v-rx45

Suggest an improvement
Source
https://github.com/advisories/GHSA-h726-x36v-rx45
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-h726-x36v-rx45/GHSA-h726-x36v-rx45.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-h726-x36v-rx45
Downstream
Published
2020-09-03T18:04:54Z
Modified
2020-08-31T18:46:04Z
Summary
Prototype Pollution in lodash.merge
Details

Versions of lodash.merge before 4.6.2 are vulnerable to prototype pollution. The function merge 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:04Z",
    "nvd_published_at": null,
    "severity": "HIGH"
}
References

Affected packages

npm / lodash.merge

Package

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-h726-x36v-rx45/GHSA-h726-x36v-rx45.json"