CVE-2022-25844

NameCVE-2022-25844
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4242-1
Debian Bugs1014779

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
angular.js (PTS)bullseye1.8.2-2vulnerable
bullseye (security)1.8.3-1+deb12u1~deb11u1fixed
bookworm1.8.3-1vulnerable
forky, sid, trixie1.8.3-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
angular.jssourcestretch(not affected)
angular.jssourcebuster(not affected)
angular.jssourcebullseye1.8.3-1+deb12u1~deb11u1DLA-4242-1
angular.jssource(unstable)1.8.3-21014779

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)

Search for package or bug name: Reporting problems