CVE-2022-25844: angular vulnerable to regular expression denial of service (ReDoS)
(updated )
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: 1) This package has been deprecated and is no longer maintained. 2) The vulnerable versions are 1.7.0 and higher.
References
- github.com/advisories/GHSA-m2h2-264f-f486
- nvd.nist.gov/vuln/detail/CVE-2022-25844
- 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
Detect and mitigate CVE-2022-25844 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →