7.5high
angular vulnerable to super-linear runtime due to backtracking
- Severity
- 7.5high CVSS:3.1 by snyk
- Exploit likelihood
- 1.89% (higher than 80% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-4w4v-5hc9-xrr2
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).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| angular | from 1.3.0 before * | CVE List |
| org.webjars.bower:angular | from 1.3.0 before * | CVE List |
| org.webjars.npm:angular | from 1.3.0 before * | CVE List |
| angularjs | from 1.3.0 before * | CVE List |
| angular (npm) | from 1.3.0 up to 1.8.3 | GitHub Advisory Database |
| org.webjars.npm:angular (Maven) | from 1.3.0 up to 1.8.3 | GitHub Advisory Database |
| org.webjars.bower:angular (Maven) | from 1.3.0 up to 1.8.3 | GitHub Advisory Database |
| angularjs angular.js | from 1.3.0 | NVD |
All scores
| snyk | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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).
GitHub Advisory Database
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.
NVD (es)
Esto afecta a las versiones del paquete angular desde 1.3.0. Una expresión regular utilizada para dividir el valor de la directiva ng-srcset es vulnerable a un tiempo de ejecución superlineal debido al retroceso. Con una gran cantidad de información cuidadosamente elaborada, esto puede resultar en un retroceso catastrófico y provocar una denegación de servicio. **Nota:** Este paquete está en EOL y no recibirá ninguna actualización para solucionar este problema. Los usuarios deben migrar a [@angular/core](https://www.npmjs.com/package/@angular/core).
References
| https://security.snyk.io/vuln/SNYK-JS-ANGULAR-6091113 | third-party-advisory, web | |
| https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-6241746 | third-party-advisory, web | |
| https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-6241747 | third-party-advisory, web | |
| https://security.snyk.io/vuln/SNYK-DOTNET-ANGULARJS-10771616 | ||
| https://stackblitz.com/edit/angularjs-vulnerability-ng-srcset-redos | exploit, third-party-advisory, web | |
| https://support.herodevs.com/hc/en-us/articles/25715686953485-CVE-2024-21490-AngularJS-Regular-Expression-Denial-of-Service-ReDoS | third-party-advisory, web | |
| https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-21490 | advisory | |
| https://github.com/angular/angular.js | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-21490 changed 2026-07-06 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4w4v-5hc9-xrr2 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-21490 changed 2026-06-29 | Public domain |