CVE-2024-21490
HIGH 7.5CVSS 3.1angular vulnerable to super-linear runtime due to backtracking
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.
- Published
- 10 Feb 2024
- Last modified
- 10 Sep 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-1333
- Also known as
- GHSA-4w4v-5hc9-xrr2
- Sources
- NVDJSONOSV GHSA-4w4v-5hc9-xrr2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | angularjs | angular.jscpe:2.3:a:angularjs:angular.js:*:*:*:*:*:*:*:* |
>= 1.3.0 | |
| OSV | npm | angular | >= 1.3.0, <= 1.8.3 | |
| OSV | Maven | org.webjars.npm:angular | >= 1.3.0, <= 1.8.3 | |
| OSV | Maven | org.webjars.bower:angular | >= 1.3.0, <= 1.8.3 |
References
- https://security.snyk.io/vuln/SNYK-DOTNET-ANGULARJS-10771616
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-6241746 · Third Party Advisory, WEB
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-6241747 · Third Party Advisory, WEB
- https://security.snyk.io/vuln/SNYK-JS-ANGULAR-6091113 · Third Party Advisory, WEB
- https://stackblitz.com/edit/angularjs-vulnerability-ng-srcset-redos · Exploit, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html · WEB
- https://support.herodevs.com/hc/en-us/articles/25715686953485-CVE-2024-21490-AngularJS-Regular-Expression-Denial-of-Service-ReDoS · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-21490 · ADVISORY
- https://github.com/angular/angular.js · PACKAGE
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 10 Feb 2024)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 10 Feb 2024)