Lodash < 4.17.21 Multiple Vulnerabilities

high Web App Scanning Plugin ID 113006

Synopsis

Lodash < 4.17.21 Multiple Vulnerabilities

Description

According to its self-reported version number, Lodash is prior to 4.17.21. It is, therefore, affected by multiple vulnerabilities:

- A command injection via template. (CVE-2021-23337)

- A regular expression denial of dervice via the toNumber, trim and trimEnd functions. (CVE-2020-28500)

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.21 or later.

See Also

https://github.com/lodash/lodash/commit/3469357cff396a26c363f8c1b5a91dde28ba4b1c

https://github.com/lodash/lodash/commit/c4847ebe7d14540bb28a8b932a9ce1b9ecbfee1a

Plugin Details

Severity: High

ID: 113006

Type: remote

Published: 10/4/2021

Updated: 3/14/2023

Scan Template: basic, full, pci, scan

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.5

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

CVSS Score Source: CVE-2021-23337

CVSS v3

Risk Factor: High

Base Score: 7.2

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

CVSS Score Source: CVE-2021-23337

Vulnerability Information

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/15/2021

Vulnerability Publication Date: 2/15/2021

Reference Information

CVE: CVE-2020-28500, CVE-2021-23337

CWE: 20, 400, 77, 78, 94

OWASP: 2010-A1, 2010-A4, 2013-A1, 2013-A4, 2013-A9, 2017-A1, 2017-A5, 2017-A9, 2021-A3, 2021-A6

WASC: Denial of Service, Improper Input Handling, OS Commanding

CAPEC: 10, 101, 104, 108, 109, 110, 120, 13, 135, 136, 14, 147, 15, 153, 182, 183, 197, 209, 22, 23, 230, 231, 24, 242, 248, 250, 261, 267, 28, 3, 31, 35, 40, 42, 43, 45, 46, 47, 473, 492, 52, 53, 588, 6, 63, 64, 67, 7, 71, 72, 73, 75, 76, 77, 78, 79, 8, 80, 81, 83, 85, 88, 9

DISA STIG: APSC-DV-002400, APSC-DV-002510, APSC-DV-002560, APSC-DV-002630

HIPAA: 164.306(a)(1), 164.306(a)(2)

ISO: 27001-A.12.6.1, 27001-A.14.2.5

NIST: sp800_53-CM-6b, sp800_53-SC-5, sp800_53-SI-10

OWASP API: 2019-API7, 2019-API8, 2023-API8

OWASP ASVS: 4.0.2-14.2.1, 4.0.2-5.1.3, 4.0.2-5.2.5, 4.0.2-5.3.8

PCI-DSS: 3.2-2.2, 3.2-6.2, 3.2-6.5, 3.2-6.5.1