Lodash < 4.17.11 Prototype Pollution

medium Web App Scanning Plugin ID 113450

Synopsis

Lodash < 4.17.11 Prototype Pollution

Description

According to its self-reported version number, Lodash is prior to 4.17.11. 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.11 or later.

See Also

https://hackerone.com/reports/380873

Plugin Details

Severity: Medium

ID: 113450

Type: remote

Published: 12/20/2022

Updated: 3/14/2023

Scan Template: basic, full, pci, scan

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

CVSS v2

Risk Factor: Medium

Base Score: 6.8

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

CVSS Score Source: CVE-2018-16487

CVSS v3

Risk Factor: Medium

Base Score: 5.6

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

CVSS Score Source: CVE-2018-16487

Vulnerability Information

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/30/2018

Vulnerability Publication Date: 10/30/2018

Reference Information

CVE: CVE-2018-16487