GHSA-46fh-8fc5-xcwx

Suggest an improvement
Source
https://github.com/advisories/GHSA-46fh-8fc5-xcwx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-46fh-8fc5-xcwx/GHSA-46fh-8fc5-xcwx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-46fh-8fc5-xcwx
Published
2020-09-03T18:09:16Z
Modified
2020-08-31T18:46:13Z
Summary
Prototype Pollution in lodash.defaultsdeep
Details

Versions of lodash.defaultsdeep before 4.6.1 are vulnerable to Prototype Pollution. The function 'defaultsDeep' may allow a malicious user to modify the prototype of Object via __proto__ causing the addition or modification of an existing property that will exist on all objects.

Recommendation

Update to version 4.6.1 or later.

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

Affected packages

npm / lodash.defaultsdeep

Package

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

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-46fh-8fc5-xcwx/GHSA-46fh-8fc5-xcwx.json"