GitHub Advisoryadvisory · npm

GHSA-m2h2-264f-f486 angular vulnerable to regular expression denial of service (ReDoS)

MEDIUM Published 2022-05-03 Modified 2025-11-03 Official page ↗
Aliases
CVE-2022-25844
Ecosystem
npm
Packages
angular
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weaknesses
CWE-1333, CWE-770
Reviewed
2022-05-04

Affected packages

• npm angular: >= 1.7.0 (no fix yet)

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. Note: 1. This package has been deprecated and is no longer maintained. 2. The vulnerable versions are 1.7.0 and higher.

Related

Alias · CVE (1)

  • CVE-2022-25844 The package angular after 1.7.0 are vulnerable to Regular Expression Denial of Service (ReDoS) by providing a custom locale rule that makes… vulnerability

Weakness · CWE (2)

  • CWE-1333 Inefficient Regular Expression Complexity weakness
  • CWE-770 Allocation of Resources Without Limits or Throttling weakness

References