CVE-2022-25844
published medium CVSS 3.1 · 5.3Regular Expression Denial of Service (ReDoS)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | angularnext of 1.7.0 to < unspecified | Affected | Not stated | snyk |
| Debian | bullseye | angular.js | Advisory build | 1.8.3-1+deb12u1~deb11u1 | DLA-4242-1 |
| Ubuntu | focal | angular.js | Advisory build | 1.7.9-1ubuntu0.1~esm1 | USN-7958-1 |
| Ubuntu | focal | libjs-angularjs | Advisory build | 1.7.9-1ubuntu0.1~esm1 | USN-7958-1 |
| Ubuntu | jammy | angular.js | Advisory build | 1.8.2-2ubuntu0.1 | USN-7958-1 |
| Ubuntu | jammy | libjs-angularjs | Advisory build | 1.8.2-2ubuntu0.1 | USN-7958-1 |
| Ubuntu | noble | angular.js | Advisory build | 1.8.3-1ubuntu0.24.04.1 | USN-7958-1 |
| Ubuntu | noble | libjs-angularjs | Advisory build | 1.8.3-1ubuntu0.24.04.1 | USN-7958-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:F
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | angular | next of 1.7.0 to < unspecified (affected · custom) | snyk · cna |
Weaknesses
1- Regular Expression Denial of Service (ReDoS)
References
9- https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html
- FEDORA-2022-e016e6f445 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2WUSPYOTOMAZPDEFPWPSCSPMNODRDKK3/
- FEDORA-2022-edf635cf39 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
Provider assertions
2snyk · cna
Regular Expression Denial of Service (ReDoS)
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7eccc7fea39f8b6cfb035338ded612ae31efe1daa0076015abaf4513b61d9ff5
- Ingested
- 23 Sep 2026, 07:59:05 UTC
- Source record
- Official CVE record