Vulnerability · Published Feb 10, 2024 · Assigned by snyk

CVE-2024-21490

High 7.5

In plain English

A high-severity regular-expression denial of service in angular. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.9%top 20.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12angular.js1.8.3-1+deb12u1DEBIAN-CVE-2024-21490
Debian:13angular.js1.8.3-2DEBIAN-CVE-2024-21490
Mavenorg.webjars.bower:angularno fix listedGHSA-4w4v-5hc9-xrr2
Mavenorg.webjars.npm:angularno fix listedGHSA-4w4v-5hc9-xrr2
Ubuntu:22.04:LTSangular.js1.8.2-2ubuntu0.1UBUNTU-CVE-2024-21490
Ubuntu:24.04:LTSangular.js1.8.3-1ubuntu0.24.04.1UBUNTU-CVE-2024-21490
npmangularno fix listedGHSA-4w4v-5hc9-xrr2

Affected products (as reported)

VendorProductVersions
n/a angular 1.3.0 – before *
n/a org.webjars.bower:angular 1.3.0 – before *
n/a org.webjars.npm:angular 1.3.0 – before *
n/a angularjs 1.3.0 – before *

Weakness: CWE-1333 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P

References