PT-2022-6868 · Google+3 · Angular+3

Michael Prentice

·

Published

2022-05-01

·

Updated

2026-01-14

·

CVE-2022-25844

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions angular versions 1.7.0 and higher
Description The issue is related to the use of a regular expression with inefficient computational complexity in the Angular application design environment and single-page application development platform. This can be exploited by a remote attacker to cause a denial of service. The vulnerability is triggered by providing a custom locale rule that allows assigning a high value to the posPre parameter in NUMBER FORMATS.PATTERNS[1].posPre using the ' '.repeat() method.
Recommendations For versions 1.7.0 and higher, consider disabling the custom locale rule functionality until a fix is available, or restrict the use of the posPre parameter in NUMBER FORMATS.PATTERNS[1].posPre to prevent assigning high values. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

DoS

Allocation of Resources Without Limits

Weakness Enumeration

Related Identifiers

BDU:2023-05239
CVE-2022-25844
DLA-4242-1
GHSA-M2H2-264F-F486
MGASA-2023-0215
SNYK-JAVA-ORGWEBJARSBOWER-2772736
SNYK-JAVA-ORGWEBJARSBOWERGITHUBANGULAR-2772738
SNYK-JAVA-ORGWEBJARSNPM-2772737
SNYK-JS-ANGULAR-2772735
USN-7958-1

Affected Products

Angular
Debian
Linuxmint
Ubuntu