Advisory

GHSA-m2h2-264f-f486

Also known as: CVE-2022-25844

Summary

angular vulnerable to regular expression denial of service (ReDoS)

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-03 00:00 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

angular

npm · All systems

Affected

  • introduced 1.7.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences