CVE-2024-21490
A regular expression used to split the value of the ng-srcset directive is vulnerable to super-linear runtime due to backtracking.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.89%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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).
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 1.89% probability · 78th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-1333
- Affected
- angularjs/angular.js
- Source
- report@snyk.io
References
- https://security.snyk.io/vuln/SNYK-DOTNET-ANGULARJS-10771616
- 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-redosExploit, Third 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-redosExploit, Third Party Advisory
- https://support.herodevs.com/hc/en-us/articles/25715686953485-CVE-2024-21490-AngularJS-Regular-Expression-Denial-of-Service-ReDoSThird Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.