{"id":"GHSA-m2h2-264f-f486","revision":"9fd51a98bf5d42efbc2b2f3dc927ac51","records":[{"revision":"9fd51a98bf5d42efbc2b2f3dc927ac51","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-m2h2-264f-f486","aliases":["CVE-2022-25844"],"title":"angular vulnerable to regular expression denial of service (ReDoS)","description":"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.\n\n**Note:**\n1. This package has been deprecated and is no longer maintained.\n2. The vulnerable versions are 1.7.0 and higher.","state":0,"publishedAt":"2022-05-03T00:00:44+00:00","modifiedAt":"2026-09-10T03:49:34.4137144+00:00","affected":[{"ecosystem":"npm","name":"angular","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.7.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2022-25844","https://github.com/angular/angular.js","https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html","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","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"],"sourceUrl":"https://github.com/advisories/GHSA-m2h2-264f-f486","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-m2h2-264f-f486","identifiers":["GHSA-m2h2-264f-f486","CVE-2022-25844"]},"retained":false,"historicalAffected":[]}],"coverage":[]}