GHSA-jf85-cpcp-j695

Suggest an improvement
Source
https://github.com/advisories/GHSA-jf85-cpcp-j695
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/07/GHSA-jf85-cpcp-j695/GHSA-jf85-cpcp-j695.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-jf85-cpcp-j695
Aliases
Published
2019-07-10T19:45:23Z
Modified
2024-08-01T07:56:44.452232Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
Summary
Prototype Pollution in lodash
Details

Versions of lodash before 4.17.12 are vulnerable to Prototype Pollution. The function defaultsDeep allows 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.12 or later.

Database specific
{
    "nvd_published_at": "2019-07-26T00:15:00Z",
    "cwe_ids": [
        "CWE-1321",
        "CWE-20"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2019-07-10T19:41:11Z"
}
References

Affected packages

npm / lodash

Package

Affected ranges

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

Ecosystem specific

{
    "affected_functions": [
        "(lodash).defaultsDeep"
    ]
}

npm / lodash-es

Package

Affected ranges

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

Ecosystem specific

{
    "affected_functions": [
        "(lodash-es).defaultsDeep"
    ]
}

npm / lodash-amd

Package

Affected ranges

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

Ecosystem specific

{
    "affected_functions": [
        "(lodash-amd).defaultsDeep"
    ]
}

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
0Unknown introduced version / All previous versions are affected
Fixed
4.6.1

Ecosystem specific

{
    "affected_functions": [
        "(lodash.defaultsdeep)"
    ]
}