Moment.js < 2.15.2 Regular Expression Denial of Service

medium Web App Scanning Plugin ID 98665

Synopsis

Moment.js < 2.15.2 Regular Expression Denial of Service

Description

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

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

See Also

https://gist.github.com/grnd/50192ce22681848a7de812d95241b7fc

Plugin Details

Severity: Medium

ID: 98665

Type: remote

Published: 8/14/2019

Updated: 3/14/2023

Scan Template: basic, full, pci, scan

Risk Information

VPR

Risk Factor: Low

Score: 2.9

CVSS v2

Risk Factor: Medium

Base Score: 4.3

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

CVSS Score Source: Tenable

CVSS v3

Risk Factor: Medium

Base Score: 4.7

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

CVSS Score Source: Tenable

Vulnerability Information

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/24/2016

Vulnerability Publication Date: 10/24/2016

Reference Information