Advisory

GHSA-jf85-cpcp-j695

Also known as: CVE-2019-10744, SNYK-JS-LODASH-450202

Summary

Prototype Pollution in lodash

Details

Versions of lodash before 4.17.12 are vulnerable to Prototype Pollution. The function defaultsDeep allows a malicious user to modify the prototype of Object via {constructor: {prototype: {...}}} causing the addition or modification of an existing property that will exist on all objects.

Recommendation

Update to version 4.17.12 or later.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2019-07-10 19:45 UTC
Modified
2026-09-10 03:47 UTC

Affected packages and fixes

lodash

npm · All systems

Affected

  • introduced 0, fixed 4.17.12 (semver)

Fixed versions

4.17.12

Fix

lodash-es

npm · All systems

Affected

  • introduced 0, fixed 4.17.14 (semver)

Fixed versions

4.17.14

Fix

lodash-amd

npm · All systems

Affected

  • introduced 0, fixed 4.17.13 (semver)

Fixed versions

4.17.13

Fix

lodash.defaultsdeep

npm · All systems

Affected

  • introduced 0, fixed 4.6.1 (semver)

Fixed versions

4.6.1

Fix

lodash-rails

RubyGems · All systems

Affected

  • introduced 0, fixed 4.17.12 (ecosystem)

Fixed versions

4.17.12

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