Skip to content
OpenAdvisories
High · 7.5 Public exploit CVE-2024-21490 EUVD-2024-0512GHSA-4w4v-5hc9-xrr2

angular vulnerable to super-linear runtime due to backtracking

Published Feb 10, 2024 · Updated Jul 6, 2026 · Assigned by snyk

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

Affected products

VendorProductAffectedFixed
— angular 1.3.0 —
— org.webjars.bower:angular 1.3.0 —
— org.webjars.npm:angular 1.3.0 —
— angularjs 1.3.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 13 angular.js 1.8.3-2 —
Debian 12 angular.js 1.8.3-1+deb12u1 —
Debian 11 angular.js 1.8.3-1+deb12u1~deb11u1 DLA-4242-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS angular.js 1.8.3-1ubuntu0.24.04.1 —
Ubuntu 22.04 LTS angular.js 1.8.2-2ubuntu0.1 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS angular.js 1.7.9-1ubuntu0.1~esm1 —
Ubuntu Pro 18.04 LTS angular.js 1.5.10-1ubuntu0.1~esm1 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • AngularJS 1.x -> Angular 18 migration guidance for GitHub Copilot. Source-of-truth repo for github/awesome-copilot/instructions/angularjs-to-angular-18.instructions.md. 62 LLM regressions across 3 mo…

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.webjars.bower:angular >= 1.3.0, <= 1.8.3 — GHSA-4w4v-5hc9-xrr2
Maven org.webjars.npm:angular >= 1.3.0, <= 1.8.3 — GHSA-4w4v-5hc9-xrr2
npm angular >= 1.3.0, <= 1.8.3 — GHSA-4w4v-5hc9-xrr2

Advisories 2

References