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.
CVE-2024-21490
Score 7.5 from GitHub Security Advisory (severity: HIGH) published 2024-02-10. NVD baseline CVSS 7.5; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.5
- EG Score
- 7.5(medium)
- EPSS
- 77.1%
- KEV
- Not listed
Published
February 10, 2024
Last Modified
July 6, 2026
Advisory Details (6)
Auto-updated Jun 29, 2026AngularJS vulnerability: `ng-srcset` parsing ReDoS - StackBlitz
https://stackblitz.com/edit/angularjs-vulnerability-ng-srcset-redosRegular Expression Denial of Service (ReDoS) in angular | CVE-2024-21490 | Snyk
https://security.snyk.io/vuln/SNYK-JS-ANGULAR-6091113Regular Expression Denial of Service (ReDoS) in org.webjars.npm:angular | CVE-2024-21490 | Snyk
https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-6241747Regular Expression Denial of Service (ReDoS) in org.webjars.bower:angular | CVE-2024-21490 | Snyk
https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-6241746[SECURITY] [DLA 4242-1] angular.js security update
https://lists.debian.org/debian-lts-announce/2025/07/msg00005.htmlRegular Expression Denial of Service (ReDoS) in angularjs | CVE-2024-21490 | Snyk
https://security.snyk.io/vuln/SNYK-DOTNET-ANGULARJS-10771616Patch Availability(1)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | libjs-angularjs (1.8.2-2ubuntu0.1) @ jammy | 2026-05-24 | ubuntu |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(3 across 2 ecosystems)
Maven(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| org.webjars.bower:angular | 1.3.0 ... 1.8.3 (75 versions) | — | — |
| org.webjars.npm:angular | 1.3.15 ... 1.8.3 (58 versions) | — | — |
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| angular | — | — | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(1)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
Frequently asked(5)
What is CVE-2024-21490?
When was CVE-2024-21490 disclosed?
Is CVE-2024-21490 actively exploited?
What is the CVSS score of CVE-2024-21490?
How do I remediate CVE-2024-21490?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-21490
Is Your Infrastructure Affected by CVE-2024-21490?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.