GHSA-fvqr-27wr-82fm

Suggest an improvement
Source
https://github.com/advisories/GHSA-fvqr-27wr-82fm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-fvqr-27wr-82fm/GHSA-fvqr-27wr-82fm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-fvqr-27wr-82fm
Aliases
Published
2018-07-26T15:14:52Z
Modified
2025-08-12T21:55:16.003066Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
Prototype Pollution in lodash
Details

Versions of lodash before 4.17.5 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 __proto__ causing the addition or modification of an existing property that will exist on all objects.

Recommendation

Update to version 4.17.5 or later.

Database specific
{
    "nvd_published_at": "2018-06-07T02:29:08Z",
    "severity": "MODERATE",
    "cwe_ids": [
        "CWE-1321",
        "CWE-471"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:35:26Z"
}
References

Affected packages

npm / lodash

Package

Affected ranges

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

RubyGems / lodash-rails

Package

Name
lodash-rails
Purl
pkg:gem/lodash-rails

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.17.5

Affected versions

0.*

0.7.0
0.8.1
0.8.2
0.9.0
0.9.1
0.9.2
0.10.0

1.*

1.0.0.rc.1
1.0.0.rc.2
1.0.0.rc.3
1.0.1
1.1.0
1.1.1
1.2.0
1.2.1
1.3.1

2.*

2.0.0
2.1.0
2.2.0
2.2.1
2.3.0
2.4.0
2.4.1

3.*

3.1.0
3.2.0
3.3.0
3.3.1
3.3.1.1
3.4.0
3.5.0
3.6.0
3.7.0
3.9.3
3.10.0
3.10.1

4.*

4.0.0
4.3.0
4.5.1
4.6.1
4.11.2
4.12.0
4.13.1
4.14.1
4.15.0
4.16.1
4.16.3
4.16.4
4.16.6
4.17.2
4.17.4