Regular Expression Denial of Service in moment
Moderate severity
GitHub Reviewed
Published
Oct 24, 2017
to the GitHub Advisory Database
•
Updated Feb 3, 2023
Description
Published by the National Vulnerability Database
Jan 23, 2017
Published to the GitHub Advisory Database
Oct 24, 2017
Reviewed
Jun 16, 2020
Last updated
Feb 3, 2023
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 intomoment.duration()
.Proof of concept
Results
Recommendation
Please update to version 2.11.2 or later.
References