Inefficient Regular Expression Complexity Affecting angular.js package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.78% (88th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Inefficient Regular Expression Complexity vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2204-ANGULARJS-2806614
  • published2 May 2022
  • disclosed1 May 2022

Introduced: 1 May 2022

CVE-2022-25844  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:22.04 angular.js.

NVD Description

Note: Versions mentioned in the description apply only to the upstream angular.js package and not the angular.js package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

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.

CVSS Scores

version 3.1