Moment.js 2.18.x < 2.29.4 Regular Expression Denial of Service

high Web App Scanning Plugin ID 113312

概要

Moment.js 2.18.x < 2.29.4 Regular Expression Denial of Service

說明

According to its self-reported version number, Moment.js is 2.18.x prior to 2.29.4. 因此,處理極長的特製字串時,可能會透過 from-string.js 中的 preprocessRFC2822() 函式受到一個規則運算式拒絕服務弱點影響。

Note that the scanner has not tested for these issues but has instead relied only on the application's self-reported version number.

解決方案

Upgrade to Moment.js version 2.29.4 or later.

另請參閱

https://github.com/moment/moment/issues/6012

Plugin 詳細資訊

嚴重性: High

ID: 113312

類型: remote

已發布: 2022/7/19

已更新: 2023/3/14

掃描範本: basic, full, pci, scan

風險資訊

VPR

風險因素: Medium

分數: 5.1

CVSS v2

風險因素: Medium

基本分數: 5

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

CVSS 評分資料來源: Tenable

CVSS v3

風險因素: High

基本分數: 7.5

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

CVSS 評分資料來源: Tenable

弱點資訊

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

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2022/7/6

弱點發布日期: 2022/7/6

參考資訊