Advisory

GHSA-p6mc-m468-83gw

Also known as: CVE-2020-8203

Summary

Prototype Pollution in lodash

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-07-15 19:15 UTC
Modified
2025-08-12 21:56 UTC

Affected packages and fixes

lodash

npm · All systems

Affected

  • introduced 3.7.0, fixed 4.17.19 (semver)

Fixed versions

4.17.19

Fix

lodash-es

npm · All systems

Affected

  • introduced 3.7.0, fixed 4.17.20 (semver)

Fixed versions

4.17.20

Fix

lodash.pick

npm · All systems

Affected

  • introduced 4.0.0, last affected 4.4.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

lodash.set

npm · All systems

Affected

  • introduced 3.7.0, last affected 4.3.2 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

lodash.setwith

npm · All systems

Affected

  • introduced 0, last affected 4.3.2 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

lodash.update

npm · All systems

Affected

  • introduced 0, last affected 4.10.2 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

lodash.updatewith

npm · All systems

Affected

  • introduced 0, last affected 4.10.2 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

lodash-rails

RubyGems · All systems

Affected

  • introduced 3.7.0, fixed 4.17.19 (ecosystem)

Fixed versions

4.17.19

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences