CVE-2024-21490

HIGH

angular.js >=1.3.0 - Denial of Service via ng-srcset Directive Regex Backtracking

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2024-21490. PoCs published by RoninForge.

AI-analyzed exploit summary This repository provides a detailed technical writeup and migration guidance for AngularJS 1.x to Angular 18, including analysis of CVE-2024-21490 (ReDoS in ng-srcset) and 62 anti-patterns. It is a legitimate technical analysis with depth, demonstrating a clear understanding of the vulnerability and migration challenges.

Description

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

Exploits (1)

nomisec WRITEUP
by RoninForge · poc
https://github.com/RoninForge/roninforge-angularjs-migration

This repository provides a detailed technical writeup and migration guidance for AngularJS 1.x to Angular 18, including analysis of CVE-2024-21490 (ReDoS in ng-srcset) and 62 anti-patterns. It is a legitimate technical analysis with depth, demonstrating a clear understanding of the vulnerability and migration challenges.

Classification
Writeup 95%
Attack Type
Other
Complexity
Moderate
Reliability
Theoretical
Target: AngularJS 1.x (all versions 1.3.0 through 1.8.3)
No auth needed
Prerequisites: AngularJS 1.x codebase · Understanding of Angular 18 patterns
devstral-2 · analyzed May 19, 2026 Full analysis →

Scores

CVSS v3 7.5
EPSS 0.0181
EPSS Percentile 75.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-1333
Status published
Products (4)
angularjs/angular.js 1.3.0
npm/angular 1.3.0npm
org.webjars.bower/angular 1.3.0Maven
org.webjars.npm/angular 1.3.0Maven
Published Feb 10, 2024
Tracked Since Feb 18, 2026