GitHub Advisoryadvisory · npm, Maven
GHSA-4w4v-5hc9-xrr2 angular vulnerable to super-linear runtime due to backtracking
HIGH
Official page ↗
- Aliases
- CVE-2024-21490
- Ecosystem
- npm, Maven
- Packages
- angular, org.webjars.npm:angular, org.webjars.bower:angular
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-1333
- Reviewed
- 2024-02-13
Affected packages
• npm angular: >= 1.3.0, <= 1.8.3 (no fix yet)
• Maven org.webjars.npm:angular: >= 1.3.0, <= 1.8.3 (no fix yet)
• Maven org.webjars.bower:angular: >= 1.3.0, <= 1.8.3 (no fix yet)
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 a 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.
Related
Alias · CVE (1)
- CVE-2024-21490 This affects versions of the package angular from 1.3.0; versions of the package angularjs from 1.3.0. vulnerability
Weakness · CWE (1)
- CWE-1333 Inefficient Regular Expression Complexity weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-21490 advisory
- https://github.com/angular/angular.js package
- https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html web
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-6241746 web
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-6241747 web
- https://security.snyk.io/vuln/SNYK-JS-ANGULAR-6091113 web
- https://stackblitz.com/edit/angularjs-vulnerability-ng-srcset-redos web
- https://support.herodevs.com/hc/en-us/articles/25715686953485-CVE-2024-21490-AngularJS-Regular-Expression-Denial-of-Service-ReDoS web