CVE-2024-21490

NameCVE-2024-21490
DescriptionThis 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).
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4242-1
Debian Bugs1088803

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
angular.js (PTS)bullseye1.8.2-2vulnerable
bullseye (security)1.8.3-1+deb12u1~deb11u1fixed
bookworm1.8.3-1vulnerable
forky, sid, trixie1.8.3-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
angular.jssourcebullseye1.8.3-1+deb12u1~deb11u1DLA-4242-1
angular.jssource(unstable)1.8.3-21088803

Notes

[bookworm] - angular.js <postponed> (Minor issue, revisit when fixed upstream)
[buster] - angular.js <postponed> (Fix along with the next DLA)
https://security.snyk.io/vuln/SNYK-JS-ANGULAR-6091113
PoC: https://stackblitz.com/edit/angularjs-vulnerability-ng-srcset-redos

Search for package or bug name: Reporting problems