Allocation of Resources Without Limits or Throttling Affecting @angular/common package, versions <19.2.23>=20.0.0-next.0 <20.3.22>=21.0.0-next.0 <21.2.15>=22.0.0-next.0 <22.0.0-rc.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ANGULARCOMMON-17353316
  • published17 Jun 2026
  • disclosed15 Jun 2026
  • creditAlan Agius

Introduced: 15 Jun 2026

NewCVE-2026-50171  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade @angular/common to version 19.2.23, 20.3.22, 21.2.15, 22.0.0-rc.2 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the formatNumber function when the digitsInfo parameter is controlled by untrusted user input. An attacker can exhaust system resources and cause application unavailability by supplying a specially crafted digitsInfo string with excessively large fraction digit values.

Note: This is only exploitable if the application uses number formatting utilities and allows untrusted input to control the digitsInfo parameter.

CVSS Base Scores

version 4.0
version 3.1