PT-2019-2936 · Lodash · Lodash

Published

2019-07-04

·

Updated

2026-04-14

·

CVE-2019-10744

CVSS v3.1

9.1

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Name of the Vulnerable Software and Affected Versions lodash versions prior to 4.17.12
Description The issue is related to the defaultsDeep function in the lodash library, which can be tricked into adding or modifying properties of Object.prototype using a constructor payload. This is due to insufficient input validation, allowing a remote attacker to cause a denial of service, execute arbitrary JavaScript code, or elevate their privileges. The vulnerability can be exploited by a malicious user modifying the prototype of Object via {constructor: {prototype: {...}}}, causing the addition or modification of an existing property that will exist on all objects.
Recommendations Update to version 4.17.12 or later. As a temporary workaround, consider restricting the use of the defaultsDeep function until a patch is available. Avoid using the constructor property in the affected defaultsDeep function to minimize the risk of exploitation.

Exploit

Fix

Prototype Pollution

RCE

Weakness Enumeration

Related Identifiers

AZL-44634
BDU:2019-02911
CVE-2019-10744
GHSA-JF85-CPCP-J695
RHSA-2019:3024
RHSA-2020:2362
SNYK-JS-LODASH-450202

Affected Products

Lodash