Moment.js < 2.11.2 Regular Expression Denial of Service

medium Web App Scanning Plugin ID 112445

Synopsis

Moment.js < 2.11.2 Regular Expression Denial of Service

Description

According to its self-reported version number, Moment.js is prior to 2.11.2. Therefore, it may be affected by a regular expression denial of service vulnerability when arbitrary user input is passed into moment.duration().

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

See Also

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

Plugin Details

Severity: Medium

ID: 112445

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

Base Score: 7.8

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

CVSS Score Source: CVE-2016-4055

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:N/A:H

CVSS Score Source: CVE-2016-4055

Vulnerability Information

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/23/2017

Vulnerability Publication Date: 1/23/2017

Reference Information

CVE: CVE-2016-4055

BID: 95849