GitHub Advisoryadvisory · npm
GHSA-m2h2-264f-f486 angular vulnerable to regular expression denial of service (ReDoS)
MEDIUM
Official page ↗
- Aliases
- CVE-2022-25844
- Ecosystem
- npm
- Packages
- angular
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Weaknesses
- CWE-1333, CWE-770
- Reviewed
- 2022-05-04
Affected packages
• npm angular: >= 1.7.0 (no fix yet)
Description
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:
1. This package has been deprecated and is no longer maintained.
2. The vulnerable versions are 1.7.0 and higher.
Related
Alias · CVE (1)
- CVE-2022-25844 The package angular after 1.7.0 are vulnerable to Regular Expression Denial of Service (ReDoS) by providing a custom locale rule that makes… vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-25844 advisory
- https://github.com/angular/angular.js package
- https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html web
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2WUSPYOTOMAZPDEFPWPSCSPMNODRDKK3 web
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7LNAKCNTVBIHWAUT3FKWV5N67PQXSZOO web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/2WUSPYOTOMAZPDEFPWPSCSPMNODRDKK3 web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/7LNAKCNTVBIHWAUT3FKWV5N67PQXSZOO web
- https://security.netapp.com/advisory/ntap-20220629-0009 web
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-2772736 web
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBANGULAR-2772738 web
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2772737 web
- https://snyk.io/vuln/SNYK-JS-ANGULAR-2772735 web
- https://stackblitz.com/edit/angularjs-material-blank-zvtdvb web