CVE Catalog

CVE-2024-21490

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

High risk
1.81%

76th percentile - higher than 76% of all known CVEs

Summary

This vulnerability affects angular package versions from 1.3.0 and angularjs package versions from 1.3.0. A regular expression used to split the value of the ng-srcset directive is vulnerable to catastrophic backtracking, leading to super-linear runtime. With large crafted input, this can cause a denial of service (DoS). The package is End-of-Life (EOL) and will not receive fixes.

Risk Assessment

The risk is a potential DoS attack via specially crafted requests, causing application unavailability. Since the package is EOL, organizations using it face a permanent threat without patching options.

Recommendation

Immediately plan migration from the EOL angular/angularjs package to @angular/core. Until migration, consider restricting access to ng-srcset functionality or implementing temporary WAF rules to block malicious inputs.

Other vulnerabilities in Angular

See all
Original NVD description (English source)

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

Vulnerability data from NVD (NIST) · CISA KEV · EPSS