Inefficient Regular Expression Complexity Affecting angular.js package, versions <1.8.3-2


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
4.93% (92nd 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 IDSNYK-DEBIANUNSTABLE-ANGULARJS-2806723
  • 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?

Upgrade Debian:unstable angular.js to version 1.8.3-2 or higher.

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:unstable 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 Base Scores

version 3.1