PT-2019-2936 · Lodash · Lodash

CVE-2019-10744

·

Publicado

2019-07-04

·

Atualizado

2026-06-09

CVSS v3.1

9.1

Crítica

VetorAV: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

Correção

Prototype Pollution

RCE

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

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

Produtos afetados

Lodash