CVE-2024-21490 in Angularjs Angular.Js
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 an...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Angularjs | Angular.Js | ≥ 1.3.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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).
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-21490 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-052175-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2024-02-10 |
| Last modified | 2026-06-29 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-1333: CWE-1333
Related attack patterns (CAPEC)
CAPEC-492 Regular Expression Exponential Blowup via CWE-1333
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in the angular package versions from 1.3.0 is due to a regular expression in the ng-srcset directive that can cause catastrophic backtracking, leading to a denial of service with large, carefully crafted input.
An attacker can exploit this vulnerability by providing a large, specially crafted input to the ng-srcset directive, causing the application to consume excessive CPU and memory, resulting in a denial of service.
Questions
What is CVE-2024-21490?
A vulnerability in the angular package versions from 1.3.0 is due to a regular expression in the ng-srcset directive that can cause catastrophic backtracking, leading to a denial of service with large, carefully crafted input.
What is the CVSS score for CVE-2024-21490?
CVE-2024-21490 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 2.4%.
Is CVE-2024-21490 actively exploited?
No confirmed active exploitation of CVE-2024-21490 as of 2026-06-30.
How do I remediate CVE-2024-21490?
Priority: IMMEDIATE.
What systems are affected by CVE-2024-21490?
CVE-2024-21490 affects Angularjs Angular.Js.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Angularjs","product":"Angular.Js","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-29.