Lodash < 4.17.5 Prototype Pollution

medium Web App Scanning Plugin ID 113451

Synopsis

Lodash < 4.17.5 Prototype Pollution

Description

According to its self-reported version number, Lodash is prior to 4.17.5. It is, therefore, affected by a prototype pollution vulnerability in the functions merge, mergeWith and defaultsDeep which could be tricked into adding or modifying properties of Object.prototype using a constructor payload.

Note that the scanner has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Lodash version 4.17.5 or later.

See Also

https://hackerone.com/reports/310443

Plugin Details

Severity: Medium

ID: 113451

Type: remote

Published: 12/20/2022

Updated: 3/14/2023

Scan Template: basic, full, pci, scan

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 4

Vector: CVSS2#AV:N/AC:L/Au:S/C:N/I:P/A:N

CVSS Score Source: CVE-2018-3721

CVSS v3

Risk Factor: Medium

Base Score: 6.5

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

CVSS Score Source: CVE-2018-3721

Vulnerability Information

CPE: cpe:2.3:a:lodash:lodash:*:*:*:*:*:node.js:*:*

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/13/2018

Vulnerability Publication Date: 2/13/2018

Reference Information

CVE: CVE-2018-3721