Description
Versions of moment prior to 2.11.2 are affected by a regular expression denial of service vulnerability. The vulnerability is triggered when arbitrary user input is passed into moment.duration().
Recommendation
Update the moment package to the latest compatible version. Followings are version details:
- Affected version(s): < 2.11.2
- Patched version(s): 2.11.2
References
Could your website be exposed too?
SmartScanner can check your website for Regular Expression Denial of Service in moment - moment and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Regular Expression Denial of Service in hawk - CVE-2016-2515
- Regular Expression Denial of Service in moment - CVE-2017-18214
- Regular Expression Denial of Service in jadedown - CVE-2016-10520
- Regular Expression Denial of Service in riot-compiler - CVE-2016-10527


