CVE-2024-21490
angular vulnerable to super-linear runtime due to backtracking
Description
This affects versions of the package angular 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 a 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.
Affected Maven artifacts (4)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.webjars.bower » angular | >= 1.3.0, <= 1.8.3 | - |
| org.webjars.npm » angular | >= 1.3.0, <= 1.8.3 | - |
| org.mvnpm » angularvia npm angular | >= 1.3.0, <= 1.8.3 | - |
| org.webjars » angularjsvia npm angular | >= 1.3.0, <= 1.8.3 | - |
| org.webjars.npm » angularvia npm angular | >= 1.3.0, <= 1.8.3 | - |
Blast radius
76% of the dependent artifacts (242) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 4,340 |
| 2 hops | 4,518 |
| 3 hops | 1,709 |
| 4 hops | 475 |
| 5 hops | 36 |
| 6 hops | 19 |
Most used dependents
- org.webjars.bower » angular-sanitize49 usages
- org.webjars.bower » angular-animate44 usages
- org.eclipse.dirigible » dirigible-resources28 usages
- org.webjars » angular-ui-bootstrap28 usages
- io.arkx.framework » arkx-data-db-core23 usages
- org.webjars.bower » angular-route17 usages
- pentaho » common-ui15 usages
- net.aequologica.neo » geppaequo-tags15 usages
- io.arkx.framework » arkx-commons-core14 usages
- org.webjars » angular-sanitize14 usages
- org.webjars.bower » angular-resource13 usages
- org.webjars.bower » angular-cookies11 usages
- org.webjars.bower » angular-mocks11 usages
- org.webjars.bower » angular-touch10 usages
- org.eclipse.dirigible » dirigible-components-group-resources-ui9 usages
Computed from the dependency graph of build 20261127.1117 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects npm (1 package) . See all on OSV
References
| Advisory | NVD CVE-2024-21490 | nvd.nist.gov |
| Package | angular/angular.js | github.com |
| Web | debian-lts-announce/2025/07/msg00005.html | lists.debian.org |
| Web | vuln/SNYK-JAVA-ORGWEBJARSBOWER-6241746 | security.snyk.io |
| Web | vuln/SNYK-JAVA-ORGWEBJARSNPM-6241747 | security.snyk.io |
| Web | vuln/SNYK-JS-ANGULAR-6091113 | security.snyk.io |
| Web | edit/angularjs-vulnerability-ng-srcset-redos | stackblitz.com |
| Web | hc/en-us/articles/25715686953485-CVE-2024-21490-AngularJS-Regular-Expression-Denial-of-Ser ... | support.herodevs.com |
