High severity · published Feb 10, 2024
CVE-2024-21490
This affects versions of the package angular from 1.3.0; versions of the package angularjs from 1.3.0
7.5
CVSS
1.9%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.9% · higher than 79% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AN
Angular.js · Angularjs
1.3.0 and later · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-21490
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-21490
security.snyk.io
https://security.snyk.io/vuln/SNYK-DOTNET-ANGULARJS-10771616
Third Party Advisory
https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-6241746
Third Party Advisory
https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-6241747
Third Party Advisory
https://security.snyk.io/vuln/SNYK-JS-ANGULAR-6091113
Exploit
https://stackblitz.com/edit/angularjs-vulnerability-ng-srcset-redos
lists.debian.org
https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html
More from Angular.js
4.3
CVE-2024-8373
AngularJS improper sanitization in '<source>' element
4.3
CVE-2024-8372
AngularJS improper sanitization in 'srcset' attribute
