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


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
2.51% (90th 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-DEBIAN11-ANGULARJS-2806721
  • published3 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 Debian:11 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 Debian. See How to fix? for Debian:11 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