CVE-2024-21490

angular: Inefficient Regular Expression Complexity

Published Feb 10, 2024 CVSS 3.1 · 7.5 High EPSS 1.9% KEV · Not listed
Description
This affects versions of the package angular from 1.3.0; versions of the package angularjs 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](https://www.npmjs.com/package/@angular/core).

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4242-1 angular.js security update
EUVD EUVD EUVD-2024-0512 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](https://www.npmjs.com/package/@angular/core).
Github GHSA Github GHSA GHSA-4w4v-5hc9-xrr2 angular vulnerable to super-linear runtime due to backtracking
Ubuntu USN Ubuntu USN USN-7958-1 AngularJS vulnerabilities
History
Type Values Removed Values Added
Description 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](https://www.npmjs.com/package/@angular/core). This affects versions of the package angular from 1.3.0; versions of the package angularjs 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](https://www.npmjs.com/package/@angular/core).
References
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Angularjs
Angularjs angular.js
CPEs cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* cpe:2.3:a:angularjs:angular.js:*:*:*:*:*:*:*:*
Vendors & Products Angular
Angular angular
Angularjs
Angularjs angular.js
Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Jul 6, 2026, 3:25 PM
Reserved
Dec 22, 2023, 12:33 PM
Status
Modified
Published
Feb 10, 2024, 5:15 AM
Modified
Jun 29, 2026, 4:16 PM
Severity
Moderate
Public date
Feb 10, 2024, 12:00 AM