Vulnerabilities · 2024 · Angularjs
CVE-2024-21490
Angularjs Angular.js vulnerability
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).
Affected products
Angular.js. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Angularjs Angular.js runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- nvd.nist.gov/vuln/detail/CVE-2024-21490
- security.snyk.io/vuln/SNYK-JS-ANGULAR-6091113
- stackblitz.com/edit/angularjs-vulnerability-ng-srcset-redos
- security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-6241746
- security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-6241747
- support.herodevs.com/hc/en-us/articles/25715686953485-CVE-2024-21490-AngularJS-Regular-Exp
- lists.debian.org/debian-lts-announce/2025/07/msg00005.html
- github.com/advisories/GHSA-4w4v-5hc9-xrr2
- nvd.nist.gov/vuln/detail/CVE-2024-21490
- cve.org/CVERecord?id=CVE-2024-21490
More vulnerabilities in Angularjs products
CVE-2024-8373CVE-2024-8372CVE-2023-26118CVE-2023-26117CVE-2023-26116CVE-2022-25869CVE-2022-25844CVE-2021-4231All 12
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.