Name | CVE-2022-25844 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-4242-1 |
Debian Bugs | 1014779 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
angular.js (PTS) | bullseye | 1.8.2-2 | vulnerable |
| bullseye (security) | 1.8.3-1+deb12u1~deb11u1 | fixed |
| bookworm | 1.8.3-1 | vulnerable |
| forky, sid, trixie | 1.8.3-3 | fixed |
The information below is based on the following data on fixed versions.
Notes
[bookworm] - angular.js <postponed> (Minor issue, revisit when fixed upstream)
[buster] - angular.js <not-affected> (vulnerable code not present)
[stretch] - angular.js <not-affected> (vulnerable code not present)
https://snyk.io/vuln/SNYK-JS-ANGULAR-2772735
PoC: https://stackblitz.com/edit/angularjs-material-blank-zvtdvb
Introduced by: https://github.com/angular/angular.js/commit/62743a54b79187e6c1325c0f6dec0f474147881d (1.7.0-rc.0)