CVE-2020-8203
Prototype Pollution in lodash
Also known as GHSA-p6mc-m468-83gw
Mitigation
- Upgrade lodash to 4.17.19 or later.
- Upgrade lodash-es to 4.17.20 or later.
- Upgrade lodash-rails to 4.17.19 or later.
Who should check
- Projects that depend on npm package lodash (>= 3.7.0, < 4.17.19)
- Projects that depend on npm package lodash-es (>= 3.7.0, < 4.17.20)
- Projects that depend on npm package lodash.pick (>= 4.0.0, <= 4.4.0)
- Projects that depend on npm package lodash.set (>= 3.7.0, <= 4.3.2)
- Projects that depend on npm package lodash.setwith (<= 4.3.2)
- Projects that depend on npm package lodash.update (<= 4.10.2)
- Projects that depend on npm package lodash.updatewith (<= 4.10.2)
- Projects that depend on RubyGems package lodash-rails (>= 3.7.0, < 4.17.19)
Vulnerability facts
- Affected
- lodash >= 3.7.0, < 4.17.19; lodash-es >= 3.7.0, < 4.17.20; lodash.pick >= 4.0.0, <= 4.4.0; lodash.set >= 3.7.0, <= 4.3.2; lodash.setwith <= 4.3.2; lodash.update <= 4.10.2; lodash.updatewith <= 4.10.2; lodash-rails >= 3.7.0, < 4.17.19
- Fixed in
- 4.17.19, 4.17.20
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.4 (v3.1, NVD)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: High
- Availability impact: High
- EPSS
- 5.21% chance of exploitation in 30 days (percentile 93, 2026-11-26)
- CWE
- CWE-770
- Modified
Description
Prototype pollution attack when using _.zipObjectDeep in lodash before 4.17.20.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm lodash | >= 3.7.0, < 4.17.19 | 4.17.19 | osv |
| npm lodash-es | >= 3.7.0, < 4.17.20 | 4.17.20 | osv |
| npm lodash.pick | >= 4.0.0, <= 4.4.0 | — | osv |
| npm lodash.set | >= 3.7.0, <= 4.3.2 | — | osv |
| npm lodash.setwith | <= 4.3.2 | — | osv |
| npm lodash.update | <= 4.10.2 | — | osv |
| npm lodash.updatewith | <= 4.10.2 | — | osv |
| RubyGems lodash-rails | >= 3.7.0, < 4.17.19 | 4.17.19 | osv |
| lodash | Not Fixed | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2020-8203. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2020-8203.md Affected: lodash >= 3.7.0, < 4.17.19; lodash-es >= 3.7.0, < 4.17.20; lodash.pick >= 4.0.0, <= 4.4.0; lodash.set >= 3.7.0, <= 4.3.2; lodash.setwith <= 4.3.2; lodash.update <= 4.10.2; lodash.updatewith <= 4.10.2; lodash-rails >= 3.7.0, < 4.17.19 Fixed in: 4.17.19, 4.17.20 Steps: 1. Search this machine and project for lodash (npm), lodash-es (npm), lodash.pick (npm), lodash.set (npm), lodash.setwith (npm), lodash.update (npm): dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://github.com/github/advisory-database/pull/2884
- https://github.com/lodash/lodash/commit/c84fe82760fb2d3e03a63379b297a1cc1a2fce12
Exploits and PoCs
Other
- https://security.netapp.com/advisory/ntap-20200724-0006/
- https://github.com/lodash/lodash/issues/4744
- https://hackerone.com/reports/864701
- https://github.com/lodash/lodash
- https://github.com/lodash/lodash/wiki/Changelog#v41719
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2020-8203.yml
- https://security.netapp.com/advisory/ntap-20200724-0006
- https://web.archive.org/web/20210914001339/https://github.com/lodash/lodash/issues/4744
FAQ
Is CVE-2020-8203 being exploited?
There is no confirmed exploitation: CVE-2020-8203 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 5.21% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2020-8203?
High: CVSS 7.4 (v3.1, scored by NVD). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2020-8203?
lodash >= 3.7.0, < 4.17.19; lodash-es >= 3.7.0, < 4.17.20; lodash.pick >= 4.0.0, <= 4.4.0; lodash.set >= 3.7.0, <= 4.3.2; lodash.setwith <= 4.3.2; lodash.update <= 4.10.2; lodash.updatewith <= 4.10.2; lodash-rails >= 3.7.0, < 4.17.19.
Is there a fix for CVE-2020-8203?
Yes. Fixed in 4.17.19, 4.17.20. Upgrade lodash to 4.17.19 or later. Upgrade lodash-es to 4.17.20 or later. Upgrade lodash-rails to 4.17.19 or later.
How do I check if I'm affected by CVE-2020-8203?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.