Vulnerability · Published May 1, 2022 · Assigned by snyk
CVE-2022-25844Regular Expression Denial of Service (ReDoS)
Medium 5.3
In plain English
A medium-severity security flaw in angular. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.9% (higher than 92% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)4.9%top 7.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
The package angular after 1.7.0 are 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | angular.js | 1.8.3-1+deb12u1 | DEBIAN-CVE-2022-25844 |
| Debian:13 | angular.js | 1.8.3-2 | DEBIAN-CVE-2022-25844 |
| Ubuntu:22.04:LTS | angular.js | 1.8.2-2ubuntu0.1 | UBUNTU-CVE-2022-25844 |
| Ubuntu:24.04:LTS | angular.js | 1.8.3-1ubuntu0.24.04.1 | UBUNTU-CVE-2022-25844 |
| npm | angular | no fix listed | GHSA-m2h2-264f-f486 |
Affected products (as reported)
References
- https://snyk.io/vuln/SNYK-JS-ANGULAR-2772735
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-2772736
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2772737
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBANGULAR-2772738
- https://stackblitz.com/edit/angularjs-material-blank-zvtdvb
- https://security.netapp.com/advisory/ntap-20220629-0009/
- FEDORA-2022-e016e6f445 vendor-advisory
- FEDORA-2022-edf635cf39 vendor-advisory
- https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html