angular vulnerable to regular expression denial of service (ReDoS)
Moderate severity
GitHub Reviewed
Published
May 3, 2022
to the GitHub Advisory Database
•
Updated Nov 3, 2025
Description
Published by the National Vulnerability Database
May 1, 2022
Published to the GitHub Advisory Database
May 3, 2022
Reviewed
May 4, 2022
Last updated
Nov 3, 2025
AngularJS lets users write client-side web applications. The package angular after 1.7.0 is vulnerable to Regular Expression Denial of Service (ReDoS) by providing a custom locale rule that makes it possible to assign the parameter in posPre: ' '.repeat() of NUMBER_FORMATS.PATTERNS[1].posPre with a very high value.
Note:
References