Vulnerability · Published May 1, 2022 · Assigned by snyk

CVE-2022-25844Regular Expression Denial of Service (ReDoS)

Medium 5.3

In plain English

A medium-severity security flaw in angular. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.9% (higher than 92% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)4.9%top 7.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12angular.js1.8.3-1+deb12u1DEBIAN-CVE-2022-25844
Debian:13angular.js1.8.3-2DEBIAN-CVE-2022-25844
Ubuntu:22.04:LTSangular.js1.8.2-2ubuntu0.1UBUNTU-CVE-2022-25844
Ubuntu:24.04:LTSangular.js1.8.3-1ubuntu0.24.04.1UBUNTU-CVE-2022-25844
npmangularno fix listedGHSA-m2h2-264f-f486

Affected products (as reported)

VendorProductVersions
n/a angular next of 1.7.0 – before unspecified

References