CVE-2024-21490 json
angular vulnerable to super-linear runtime due to backtracking
published 2024-02-10 2 y ago modified 2026-09-10 1 mo ago also GHSA-4w4v-5hc9-xrr2 , EUVD-2024-0512
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
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. **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).
Patch / fix
- angular.js Debian 12 1.8.3-1+deb12u1
- angular.js Debian 13 1.8.3-2
debian advisories DEBIAN-CVE-2024-21490
- angular.js Ubuntu 22.04 LTS 1.8.2-2ubuntu0.1
- angular.js Ubuntu 24.04 LTS 1.8.3-1ubuntu0.24.04.1
- angular.js Ubuntu Pro 18.04 LTS 1.5.10-1ubuntu0.1~esm1
- angular.js Ubuntu Pro 20.04 LTS 1.7.9-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2024-21490
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-21490 updated cvss 7.5
angular: Inefficient Regular Expression Complexity
-
Red Hat Fuse 7 angularaffected: workaround, no fix planned “Will not fix”
-
Red Hat Satellite 6 nodejs-angularaffected: workaround, no fix available
-
Red Hat Single Sign-On 7 rh-sso7-keycloak rh-sso7-keycloakaffected: workaround, no fix planned “Will not fix”
-
Red Hat Storage 3 grafanaaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/kibana6-rhel8 Red Hat Enterprise Linux 6 firefox, thunderbird Red Hat Enterprise Linux 7 firefox, thunderbird Red Hat Enterprise Linux 8 firefox, grafana, mozjs60, thunderbird, grafana-loki, grafana-mssql, +11 more Red Hat Enterprise Linux 9 gjs, polkit, firefox, grafana, firefox-x11, polkit-libs, +2 more Red Hat JBoss Data Grid 7 angularnot affected: vulnerable code not present
+5 more productsfewer
Red Hat JBoss Enterprise Application Platform 7 angular Red Hat JBoss Enterprise Application Platform Expansion Pack angular Red Hat OpenStack Platform 16.1 qpid-dispatch-tools, qpid-dispatch-router Red Hat OpenStack Platform 16.2 qpid-dispatch-tools, qpid-dispatch-router Red Hat Quay 3 quay/quay-rhel8
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
1.89% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- stackblitz.com https://stackblitz.com/edit/angularjs-vulnerability-ng-srcset-redos referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | angular | >=1.3.0, <=1.8.3 |
no fix listed |
| maven | org.webjars.npm:angular | >=1.3.0, <=1.8.3 |
no fix listed |
| maven | org.webjars.bower:angular | >=1.3.0, <=1.8.3 |
no fix listed |
Affected products
- n/a angular
- n/a org.webjars.bower:angular
- n/a org.webjars.npm:angular
- n/a angularjs
Classification
- Weakness
-
- CWE-1333 Inefficient Regular Expression Complexity
References
-
stackblitz.com
/edit/angularjs-vulnerability-ng-srcset-redos
web, exploit, third-party-advisory
-
security.snyk.io
/vuln/SNYK-JS-ANGULAR-6091113
web, third-party-advisory
-
security.snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSBOWER-6241746
web, third-party-advisory
-
security.snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSNPM-6241747
web, third-party-advisory
- security.snyk.io /vuln/SNYK-DOTNET-ANGULARJS-10771616
-
support.herodevs.com
/hc/en-us/articles/25715686953485-CVE-2024-21490-AngularJS-Regular-Expression-Denial-of-Service-ReDoS
web, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2025/07/msg00005.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-21490
advisory
-
github.com
/angular/angular.js
package
Sources
- CVE List CVE-2024-21490
- GitHub Advisory GHSA-4w4v-5hc9-xrr2
- NVD CVE-2024-21490
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.