{"id":"GHSA-fvqr-27wr-82fm","summary":"Prototype Pollution in lodash","details":"Versions of `lodash` before 4.17.5 are vulnerable to prototype pollution. \n\nThe 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.\n\n\n\n\n## Recommendation\n\nUpdate to version 4.17.5 or later.","aliases":["CVE-2018-3721"],"modified":"2025-08-12T22:17:07.967618Z","published":"2018-07-26T15:14:52Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-06-16T21:35:26Z","nvd_published_at":"2018-06-07T02:29:08Z","cwe_ids":["CWE-1321","CWE-471"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3721"},{"type":"WEB","url":"https://github.com/lodash/lodash/commit/d8e069cc3410082e44eb18fcf8e7f3d08ebe1d4a"},{"type":"WEB","url":"https://hackerone.com/reports/310443"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2018-3721.yml"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20190919-0004"}],"affected":[{"package":{"name":"lodash","ecosystem":"npm","purl":"pkg:npm/lodash"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.17.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-fvqr-27wr-82fm/GHSA-fvqr-27wr-82fm.json"}},{"package":{"name":"lodash-rails","ecosystem":"RubyGems","purl":"pkg:gem/lodash-rails"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.17.5"}]}],"versions":["0.10.0","0.7.0","0.8.1","0.8.2","0.9.0","0.9.1","0.9.2","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.0.0","2.1.0","2.2.0","2.2.1","2.3.0","2.4.0","2.4.1","3.1.0","3.10.0","3.10.1","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","4.0.0","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","4.3.0","4.5.1","4.6.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-fvqr-27wr-82fm/GHSA-fvqr-27wr-82fm.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"}]}