Moment.js < 2.19.3 Regular Expression Denial of Service

high Web App Scanning Plugin ID 112446

Synopsis

Moment.js < 2.19.3 Regular Expression Denial of Service

Description

According to its self-reported version number, Moment.js is prior to 2.19.3. Therefore, it may be affected by a regular expression denial of service vulnerability when parsing dates as string.

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 Moment.js version 2.19.3 or later.

See Also

https://www.npmjs.com/advisories/532

Plugin Details

Severity: High

ID: 112446

Type: remote

Published: 11/5/2018

Updated: 3/14/2023

Scan Template: basic, full, pci, scan

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

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

CVSS Score Source: CVE-2017-18214

CVSS v3

Risk Factor: High

Base Score: 7.5

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

CVSS Score Source: CVE-2017-18214

Vulnerability Information

CPE: cpe:2.3:a:moment_project:moment:*:*:*:*:*:*:*:*

Exploit Ease: No known exploits are available

Patch Publication Date: 3/4/2018

Vulnerability Publication Date: 3/4/2018

Reference Information

CVE: CVE-2017-18214