CVE-2020-8203Prototype Pollution in lodash
A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 5.2% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 5.2%
- percentile 93%
- Fix
- Named by a source
- CVE published 15 Jul 2020
Reference
None of the "Needs attention" rules apply right now.
EPSS 5.2% (+5) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- lodash-rails (RubyGems): upgrade to 4.17.19 or later on your release line.
- lodash (npm): upgrade to 4.17.19 or later on your release line.
- lodash-es (npm): upgrade to 4.17.20 or later on your release line.
- Fixed in another package of the same advisory: lodash 4.17.19. A migration, not an upgrade of lodash.pick (npm), lodash.set (npm), lodash.setwith (npm) and 2 more.
- Fixed in another package of the same advisory: lodash-es 4.17.20. A migration, not an upgrade of lodash.pick (npm), lodash.set (npm), lodash.setwith (npm) and 2 more.
- Commit / pull request: https://github.com/github/advisory-database/pull/2884
- Commit / pull request: https://github.com/lodash/lodash/commit/c84fe82760fb2d3e03a63379b297a1cc1a2fce12
Who should check
lodash-rails (RubyGems) pkg:gem/lodash-rails
- Affected>= 3.7.0, < 4.17.19Fixed in4.17.19OSV (GHSA-p6mc-m468-83gw)
lodash (npm) pkg:npm/lodash
- Affected>= 3.7.0, < 4.17.19Fixed in4.17.19OSV (GHSA-p6mc-m468-83gw)
lodash-es (npm) pkg:npm/lodash-es
- Affected>= 3.7.0, < 4.17.20Fixed in4.17.20OSV (GHSA-p6mc-m468-83gw)
lodash.pick (npm) pkg:npm/lodash.pick
- Affected>= 4.0.0, <= 4.4.0Last known affected4.4.0OSV (GHSA-p6mc-m468-83gw)
lodash.set (npm) pkg:npm/lodash.set
- Affected>= 3.7.0, <= 4.3.2Last known affected4.3.2OSV (GHSA-p6mc-m468-83gw)
lodash.setwith (npm) pkg:npm/lodash.setwith
- Affected<= 4.3.2Last known affected4.3.2OSV (GHSA-p6mc-m468-83gw)
lodash.update (npm) pkg:npm/lodash.update
- Affected<= 4.10.2Last known affected4.10.2OSV (GHSA-p6mc-m468-83gw)
lodash.updatewith (npm) pkg:npm/lodash.updatewith
- Affected<= 4.10.2Last known affected4.10.2OSV (GHSA-p6mc-m468-83gw)
Confirmed facts
- CVSS
- 7.4 HIGH (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-p6mc-m468-83gw)
- Attack vector
- network
- Attack complexity
- high
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-1321, CWE-770
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)Versions of lodash prior to 4.17.19 are vulnerable to Prototype Pollution. The functions `pick`, `set`, `setWith`, `update`, `updateWith`, and `zipObjectDeep` allow a malicious user to modify the prototype of Object if the property identifiers are user-supplied. Being affected by this issue requires manipulating objects based on user-provided property values or arrays. This vulnerability causes the addition or modification of an existing property that will exist on all objects and may lead to Denial of Service or Code Execution under specific circumstances.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2020-8203
- otherhttps://github.com/lodash/lodash/issues/4744
- otherhttps://github.com/lodash/lodash/issues/4874
- commit / pull requesthttps://github.com/github/advisory-database/pull/2884
- commit / pull requesthttps://github.com/lodash/lodash/commit/c84fe82760fb2d3e03a63379b297a1cc1a2fce12
- otherhttps://hackerone.com/reports/712065
- otherhttps://hackerone.com/reports/864701
- otherhttps://github.com/lodash/lodash
- otherhttps://github.com/lodash/lodash/wiki/Changelog#v41719
- otherhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2020-8203.yml
- otherhttps://security.netapp.com/advisory/ntap-20200724-0006
- otherhttps://web.archive.org/web/20210914001339/https://github.com/lodash/lodash/issues/4744
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-p6mc-m468-83gw (GitHub Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 44 min ago · osv 44 min ago · nvd 44 min ago · epss 44 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-p6mc-m468-83gw