{"id":"CVE-2022-25844","published":"2022-05-01T15:25:32Z","modified":"2025-11-03T19:26:56Z","title":"Regular Expression Denial of Service (ReDoS)","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:F","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04927,"percentile":0.92334,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-ANGULAR-2772735","tags":[]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-2772736","tags":[]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2772737","tags":[]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBANGULAR-2772738","tags":[]},{"url":"https://stackblitz.com/edit/angularjs-material-blank-zvtdvb","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20220629-0009/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2WUSPYOTOMAZPDEFPWPSCSPMNODRDKK3/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7LNAKCNTVBIHWAUT3FKWV5N67PQXSZOO/","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html","tags":[]}],"priority":{"score":22.2,"factors":[{"name":"EPSS percentile","points":18.47},{"name":"CVSS severity","points":3.71}]},"affectedVersions":[{"vendor":"n/a","product":"angular","versions":[">= next of 1.7.0, < unspecified"]}],"affected":[{"ecosystem":"npm","package":"angular","vulnerableRanges":[">=1.7.0"],"patched":[],"from":["GHSA-m2h2-264f-f486"],"provenance":"source"}],"summary":{"text":"The flaw is a Regular Expression Denial of Service (ReDoS) vulnerability in the angular package, affecting versions 1.7.0 and higher, where a custom locale rule can set the posPre value of NUMBER_FORMATS.PATTERNS[1] to a very large number, causing the ' '.repeat() call to consume excessive resources. An attacker with network access and no authentication or user interaction can trigger it by supplying such a crafted locale rule, which can degrade availability of the affected application.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:03:25Z"},"euvd":{"id":"EUVD-2022-4470","exploited":false,"provenance":"source"}}