GHSA-4xc9-xhrj-v574

Suggest an improvement
Source
https://github.com/advisories/GHSA-4xc9-xhrj-v574
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/02/GHSA-4xc9-xhrj-v574/GHSA-4xc9-xhrj-v574.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4xc9-xhrj-v574
Aliases
Published
2019-02-07T18:16:48Z
Modified
2023-11-08T04:00:00.810307Z
Summary
Prototype Pollution in lodash
Details

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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-400"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T20:59:41Z"
}
References

Affected packages

npm / lodash

Package

Affected ranges

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