Loading...
Skip to main content

CVE-2019-10744 — Prototype Pollution in lodash-amd — CVE Details

CRITICAL

Prototype Pollution in lodash

Published July 10, 2019Updated September 10, 2026Source: osv

Summary

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.

Advisory Timeline

  • First published July 10, 2019 (2651 days ago).
  • Last revised September 10, 2026 — 2618 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update lodash-amd to 4.17.13 or later
npm install lodash-amd@4.17.13
npm
Update lodash.defaultsdeep to 4.6.1 or later
npm install lodash.defaultsdeep@4.6.1
Bundler
Update lodash-rails to 4.17.12 or later
gem install lodash-rails -v 4.17.12
npm
Update lodash-es to 4.17.14 or later
npm install lodash-es@4.17.14
npm
Update lodash to 4.17.12 or later
npm install lodash@4.17.12

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (5)

Affects 2 ecosystems: npm (4), rubygems (1).

PackageEcosystemAffectedFixed In
lodash-amd
npm
All versions4.17.13
lodash.defaultsdeep
npm
All versions4.6.1
lodash-rails
rubygems
0.10.0, 0.7.0, 0.8.1, 0.8.2 (+49 more)4.17.12
lodash-es
npm
All versions4.17.14
lodash
npm
All versions4.17.12

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-1321
    Prototype PollutionMITRE
  • CWE-20
    Improper Input ValidationMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Frequently Asked Questions

What is CVE-2019-10744?
Prototype Pollution in lodash This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
How do I check if my project is affected by CVE-2019-10744?
CVE-2019-10744 affects lodash-amd, lodash.defaultsdeep and lodash-rails (and 2 more). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2019-10744 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.1

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-jf85-cpcp-j695
SNYK-JS-LODASH-450202

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies