CVE-2022-25844

Regular Expression Denial of Service (ReDoS)

Published May 1, 2022 CVSS 3.1 · 5.3 Medium EPSS 4.9% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4242-1 angular.js security update
EUVD EUVD EUVD-2022-4470 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.
Github GHSA Github GHSA GHSA-m2h2-264f-f486 angular vulnerable to regular expression denial of service (ReDoS)
Ubuntu USN Ubuntu USN USN-7958-1 AngularJS vulnerabilities
History
Type Values Removed Values Added
First Time appeared Angularjs angularjs
CPEs cpe:2.3:a:angularjs:angular:*:*:*:*:*:node.js:*:* cpe:2.3:a:angularjs:angularjs:*:*:*:*:*:*:*:*
Vendors & Products Angularjs angular
Angularjs angularjs
Type Values Removed Values Added
Metrics epss

{'score': 0.00523}

epss

{'score': 0.00447}

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Nov 3, 2025, 7:26 PM
Reserved
Feb 24, 2022, 12:00 AM
Status
Modified
Published
May 1, 2022, 4:15 PM
Modified
Jun 17, 2026, 4:34 AM
Severity
Moderate
Public date
May 1, 2022, 12:00 AM