CVE-2022-25844
JavaScript vulnerability analysis and mitigation

Overview

The vulnerability CVE-2022-25844 affects the Angular package versions 1.7.0 and higher, which has been identified as susceptible to Regular Expression Denial of Service (ReDoS). This security flaw was discovered and disclosed on April 21, 2022. The vulnerability allows attackers to exploit the system by providing a custom locale rule that manipulates the parameter in posPre through NUMBER_FORMATS.PATTERNS[1].posPre with extremely high values (Snyk, NVD). It's important to note that this package has been deprecated and is no longer maintained.

Technical details

The vulnerability is classified with a CVSS v3.1 base score of 7.5 (HIGH), indicating its significant severity. The attack vector is network-based, with low attack complexity and requires no privileges or user interaction. The vulnerability specifically targets the number formatting functionality in Angular's locale system, where an attacker can manipulate the posPre parameter using the .repeat() method with extremely high values to trigger the ReDoS condition (Snyk, NetApp).

Impact

When successfully exploited, this vulnerability can lead to a Denial of Service condition by causing the system to process extremely large regular expressions, resulting in excessive CPU consumption. The impact primarily affects the availability of the system, while maintaining the confidentiality and integrity of the affected component (Snyk).

Mitigation and workarounds

There is no fixed version available for this vulnerability as the Angular package has been deprecated and is no longer maintained. Organizations using affected versions should consider migrating to alternative, supported frameworks (Snyk, CVE).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management