CVE-2022-25844
Regular Expression Denial of Service (ReDoS)
Reported by snyk · Published May 1, 2022
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| solr | Wolfi | 9.10.0-r0 |
| solr | Chainguard | 9.10.0-r0 |
| angular | n/a | unspecified |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | angular | next of 1.7.0 |
| n/a | angular | 1.7.0 |
| wolfi | solr | 0 |
| chainguard | solr | 0 |
| npm | angular | 1.7.0 |
Timeline
- May 1, 2022 CVE Published
- May 2, 2022 EPSS Score (30 in total, the first dated here)
- Nov 3, 2025 CVE Updated
- Mar 9, 2026 Security Advisory (2 in total, the first dated here)
- Jun 30, 2026 Coalition ESS Score
- Nov 21, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-25844
vulnetix vdb fixes CVE-2022-25844
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-25844/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2022-e016e6f445 vendor-advisory
- FEDORA-2022-edf635cf39 vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-25844 advisory
- https://github.com/advisories/GHSA-m2h2-264f-f486 advisory
- https://github.com/angular/angular.js url
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2WUSPYOTOMAZPDEFPWPSCSPMNODRDKK3 url
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7LNAKCNTVBIHWAUT3FKWV5N67PQXSZOO url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2WUSPYOTOMAZPDEFPWPSCSPMNODRDKK3 url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7LNAKCNTVBIHWAUT3FKWV5N67PQXSZOO url
- https://security.netapp.com/advisory/ntap-20220629-0009 advisory
- https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html url