CVE-2024-21490
published high CVSS 3.1 · 7.5angular: Inefficient Regular Expression Complexity
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | angular1.3.0 and later | Affected | Not stated | snyk |
| n/a | — | org.webjars.bower:angular1.3.0 and later | Affected | Not stated | snyk |
| n/a | — | org.webjars.npm:angular1.3.0 and later | Affected | Not stated | snyk |
| n/a | — | angularjs1.3.0 and later | Affected | Not stated | snyk |
| Debian | bullseye | angular.js | Advisory build | 1.8.3-1+deb12u1~deb11u1 | DLA-4242-1 |
| Ubuntu | bionic | angular.js | Advisory build | 1.5.10-1ubuntu0.1~esm1 | USN-7958-1 |
| Ubuntu | bionic | libjs-angularjs | Advisory build | 1.5.10-1ubuntu0.1~esm1 | USN-7958-1 |
| Ubuntu | focal | angular.js | Advisory build | 1.7.9-1ubuntu0.1~esm1 | USN-7958-1 |
Show 5 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | focal | libjs-angularjs | Advisory build | 1.7.9-1ubuntu0.1~esm1 | USN-7958-1 |
| Ubuntu | jammy | angular.js | Advisory build | 1.8.2-2ubuntu0.1 | USN-7958-1 |
| Ubuntu | jammy | libjs-angularjs | Advisory build | 1.8.2-2ubuntu0.1 | USN-7958-1 |
| Ubuntu | noble | angular.js | Advisory build | 1.8.3-1ubuntu0.24.04.1 | USN-7958-1 |
| Ubuntu | noble | libjs-angularjs | Advisory build | 1.8.3-1ubuntu0.24.04.1 | USN-7958-1 |
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | angular | 1.3.0 and later (affected · semver) | snyk · cna |
| n/a | org.webjars.bower:angular | 1.3.0 and later (affected · semver) | snyk · cna |
| n/a | org.webjars.npm:angular | 1.3.0 and later (affected · semver) | snyk · cna |
| n/a | angularjs | 1.3.0 and later (affected · semver) | snyk · cna |
Weaknesses
1- CWE-1333 Regular Expression Denial of Service (ReDoS)
References
7- https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html
- https://security.snyk.io/vuln/SNYK-DOTNET-ANGULARJS-10771616
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-6241746
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-6241747
- https://security.snyk.io/vuln/SNYK-JS-ANGULAR-6091113
- https://stackblitz.com/edit/angularjs-vulnerability-ng-srcset-redos
- https://support.herodevs.com/hc/en-us/articles/25715686953485-CVE-2024-21490-AngularJS-Regular-Expression-Denial-of-Service-ReDoS
Provider assertions
3snyk · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b8eaabd65635772b7a7b6e30901c9ba2094dea1c9a07647a7a4e952955bda7e1
- Ingested
- 23 Sep 2026, 08:19:02 UTC
- Source record
- Official CVE record