CVE-2024-21490: angular · Regular Expression Denial of Service (ReDoS)
Affects angularSource CVE Database V5
Not known to be exploited · CVSS 7.5 High.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 1.8% chance of exploitation in 30 days – higher than 79% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:PExploitation evidence
Disclosed: evidence found.
CVE published 10 Feb 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
npmangularpkg:npm/angularOther threats | Affected
| Fixed in– |
npmangularjspkg:npm/angularjsOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
The recommended mitigation is to migrate applications from angular to the actively maintained @angular/core package. Until migration is complete, avoid processing untrusted input in the ng-srcset directive or implement input validation to limit input size and complexity.
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).
References
- security.snyk.io/vuln/SNYK-JS-ANGULAR-6091113 (opens in a new tab)
- security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-6241746 (opens in a new tab)
- security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-6241747 (opens in a new tab)
- security.snyk.io/vuln/SNYK-DOTNET-ANGULARJS-10771616 (opens in a new tab)
- stackblitz.com/edit/angularjs-vulnerability-ng-srcset-redos (opens in a new tab)
- support.herodevs.com/hc/en-us/articles/25715686953485-CVE-2024-21490-AngularJS-Regular-Expression-Denial-of-Service-ReDoS (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/07/msg00005.html (opens in a new tab)