{"id":"CVE-2024-21490","aliases":["CVE-2024-21490","GHSA-4w4v-5hc9-xrr2"],"related":[],"kind":"vulnerability","state":"published","title":"angular vulnerable to super-linear runtime due to backtracking","summary":"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. \n\n\n**Note:**\n\nThis 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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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. \n\n\n**Note:**\n\nThis 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).","source":"cvelist"},{"lang":"en","text":"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. \n\n\n**Note:**\n\nThis 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).","format":"markdown","source":"ghsa"},{"lang":"es","text":"Esto afecta a las versiones del paquete angular desde 1.3.0. Una expresión regular utilizada para dividir el valor de la directiva ng-srcset es vulnerable a un tiempo de ejecución superlineal debido al retroceso. Con una gran cantidad de información cuidadosamente elaborada, esto puede resultar en un retroceso catastrófico y provocar una denegación de servicio. **Nota:** Este paquete está en EOL y no recibirá ninguna actualización para solucionar este problema. Los usuarios deben migrar a [@angular/core](https://www.npmjs.com/package/@angular/core).","source":"nvd"}],"published":"2024-02-10T05:00:01.641Z","modified":"2026-09-10T03:50:09.714Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-1333"],"affected":[{"ranges":[{"type":"semver","introduced":"1.3.0","fixed":"*","status":"affected"}],"product":"angular","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.3.0","fixed":"*","status":"affected"}],"product":"org.webjars.bower:angular","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.3.0","fixed":"*","status":"affected"}],"product":"org.webjars.npm:angular","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.3.0","fixed":"*","status":"affected"}],"product":"angularjs","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.3.0","status":"affected","lastAffected":"1.8.3"}],"ecosystem":"npm","package":"angular","purl":"pkg:npm/angular","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.3.0","status":"affected","lastAffected":"1.8.3"}],"ecosystem":"Maven","package":"org.webjars.npm:angular","purl":"pkg:maven/org.webjars.npm/angular","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.3.0","status":"affected","lastAffected":"1.8.3"}],"ecosystem":"Maven","package":"org.webjars.bower:angular","purl":"pkg:maven/org.webjars.bower/angular","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.3.0"}],"vendor":"angularjs","product":"angular.js","cpe":"cpe:2.3:a:angularjs:angular.js:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-ANGULAR-6091113","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-6241746","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-6241747","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.snyk.io/vuln/SNYK-DOTNET-ANGULARJS-10771616","tags":[],"sources":["cvelist","nvd"]},{"url":"https://stackblitz.com/edit/angularjs-vulnerability-ng-srcset-redos","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://support.herodevs.com/hc/en-us/articles/25715686953485-CVE-2024-21490-AngularJS-Regular-Expression-Denial-of-Service-ReDoS","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21490","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/angular/angular.js","tags":["package"],"sources":["ghsa"]}],"credits":["George Kalpakas"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-02-12T19:24:29.584Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-21490","url":"https://www.cve.org/CVERecord?id=CVE-2024-21490","licence":"CVE Terms of Use","modified":"2026-07-06T15:25:05.623Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4w4v-5hc9-xrr2","url":"https://github.com/advisories/GHSA-4w4v-5hc9-xrr2","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:09.714Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-21490","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21490","licence":"Public domain","modified":"2026-06-29T16:16:33.937Z"}],"updatedAt":"2026-11-25T22:58:36.707Z","epss":{"score":0.01891,"percentile":0.80175,"date":"2026-12-01T12:00:22.000Z"}}