medium5.3
CVE-2022-25844
angular vulnerable to regular expression denial of service (ReDoS)
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | angular | >= 1.7.0 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Angularjs | Angularjs | from 1.7.0 |
| Fedoraproject | Fedora | Versions 35, 36 |
| Netapp | Ontap Select Deploy Administration Utility | All versions |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2WUSPYOTOMAZPDEFPWPSCSPMNODRDKK3/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7LNAKCNTVBIHWAUT3FKWV5N67PQXSZOO/
- https://security.netapp.com/advisory/ntap-20220629-0009/
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-2772736
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBANGULAR-2772738
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2772737
- https://snyk.io/vuln/SNYK-JS-ANGULAR-2772735
- https://stackblitz.com/edit/angularjs-material-blank-zvtdvb
- https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html
- https://github.com/advisories/GHSA-m2h2-264f-f486
- https://nvd.nist.gov/vuln/detail/CVE-2022-25844
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2WUSPYOTOMAZPDEFPWPSCSPMNODRDKK3
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7LNAKCNTVBIHWAUT3FKWV5N67PQXSZOO
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2WUSPYOTOMAZPDEFPWPSCSPMNODRDKK3
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7LNAKCNTVBIHWAUT3FKWV5N67PQXSZOO
- https://security.netapp.com/advisory/ntap-20220629-0009