Vulnerability 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 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).
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Angularjs | Angular.Js | >= 1.3.0 |
Related Weaknesses (CWE)
References
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-6241746Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-6241747Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-ANGULAR-6091113Third Party Advisory
- https://stackblitz.com/edit/angularjs-vulnerability-ng-srcset-redosExploitThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-6241746Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-6241747Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-ANGULAR-6091113Third Party Advisory
- https://stackblitz.com/edit/angularjs-vulnerability-ng-srcset-redosExploitThird Party Advisory
- https://support.herodevs.com/hc/en-us/articles/25715686953485-CVE-2024-21490-AngThird Party Advisory
FAQ
What is CVE-2024-21490?
CVE-2024-21490 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 large c...
How severe is CVE-2024-21490?
CVE-2024-21490 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-21490?
Check the references section above for vendor advisories and patch information. Affected products include: Angularjs Angular.Js.