NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

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

highCVSS 3.1 7.5GHSA-4w4v-5hc9-xrr2

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 a 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.

Published Feb 10, 2024 · Updated Nov 3, 2025

Affected packages

angular

Ecosystem
npm
Affected
>= 1.3.0, <= 1.8.3
Fixed in
No patched version yet
Check
npm ls angular

org.webjars.npm:angular

Ecosystem
Maven
Affected
>= 1.3.0, <= 1.8.3
Fixed in
No patched version yet
Check
mvn dependency:tree -Dincludes=org.webjars.npm:angular

org.webjars.bower:angular

Ecosystem
Maven
Affected
>= 1.3.0, <= 1.8.3
Fixed in
No patched version yet
Check
mvn dependency:tree -Dincludes=org.webjars.bower:angular

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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 a 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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries