CVE-2024-21490
HIGH7.5EPSS 2.3%angular vulnerable to super-linear runtime due to backtracking
Published: 2/10/2024Modified: 2/4/2026
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](https://www.npmjs.com/package/@angular/core).
Affected packages (4)
- Debian/angular.jsfrom 0, < 1.8.3-1+deb12u1~deb11u1
- Maven/org.webjars.bower:angular>= 1.3.0, <= 1.8.3
- Maven/org.webjars.npm:angular>= 1.3.0, <= 1.8.3
- npm/angular>= 1.3.0, <= 1.8.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-21490
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-21490
- PATCHhttps://github.com/angular/angular.js
- WEBhttps://lists.debian.org/debian-lts-announce/2025/07/msg00005.html
- WEBhttps://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-6241746
- WEBhttps://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-6241747
- WEBhttps://security.snyk.io/vuln/SNYK-JS-ANGULAR-6091113
- WEBhttps://stackblitz.com/edit/angularjs-vulnerability-ng-srcset-redos
- WEBhttps://support.herodevs.com/hc/en-us/articles/25715686953485-CVE-2024-21490-AngularJS-Regular-Expression-Denial-of-Service-ReDoS