# CVE-2024-21490: angular vulnerable to super-linear runtime due to backtracking

- Severity: High 7.5 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.89%, higher than 80% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-02-10T05:00:01.641Z
- Modified: 2026-09-10T03:50:09.714Z
- Also known as: GHSA-4w4v-5hc9-xrr2
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: snyk

## 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).

(As written by CVE List.)

## Affected

- angular: from 1.3.0 before *
- org.webjars.bower:angular: from 1.3.0 before *
- org.webjars.npm:angular: from 1.3.0 before *
- angularjs: from 1.3.0 before *
- angular (npm): from 1.3.0 up to 1.8.3
- org.webjars.npm:angular (Maven): from 1.3.0 up to 1.8.3
- org.webjars.bower:angular (Maven): from 1.3.0 up to 1.8.3
- angularjs angular.js: from 1.3.0

## Every score

- snyk: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://stackblitz.com/edit/angularjs-vulnerability-ng-srcset-redos> (exploit, third-party-advisory, web)
- <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://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

- CVE List: [CVE-2024-21490](https://www.cve.org/CVERecord?id=CVE-2024-21490), CVE Terms of Use, modified 2026-07-06
- GitHub Advisory Database: [GHSA-4w4v-5hc9-xrr2](https://github.com/advisories/GHSA-4w4v-5hc9-xrr2), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-21490](https://nvd.nist.gov/vuln/detail/CVE-2024-21490), Public domain, modified 2026-06-29

---

Page: https://cve.day/CVE-2024-21490 · Whole record: https://cve.day/CVE-2024-21490.json · Rebuilt by cve.day 2026-11-25T22:58:36.707Z
