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:
github.com/angular/angular.js
lists.fedoraproject.org/archives/list/[email protected]/message/2WUSPYOTOMAZPDEFPWPSCSPMNODRDKK3
lists.fedoraproject.org/archives/list/[email protected]/message/7LNAKCNTVBIHWAUT3FKWV5N67PQXSZOO
nvd.nist.gov/vuln/detail/CVE-2022-25844
security.netapp.com/advisory/ntap-20220629-0009
snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-2772736
snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBANGULAR-2772738
snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2772737
snyk.io/vuln/SNYK-JS-ANGULAR-2772735
stackblitz.com/edit/angularjs-material-blank-zvtdvb