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


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

Social Trends
EPSS
1.89% (77th 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-UBUNTU2410-ANGULARJS-8192571
  • published15 Oct 2024
  • disclosed10 Feb 2024

Introduced: 10 Feb 2024

CVE-2024-21490  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:24.10 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:24.10 relevant fixed versions and status.

This affects versions of the package angular from 1.3.0. A regular expression used to split the value of the ng-srcset directive is vulnerable to super-linear runtime due to backtracking. With large carefully-crafted input, this can result in catastrophic backtracking and cause a denial of service.

Note:

This package is EOL and will not receive any updates to address this issue. Users should migrate to @angular/core.

CVSS Base Scores

version 3.1