Angular: Denial of Service (DoS) via OOM in Number Formatting (digitsInfo) (angular angular)
En bref
- Source
- NVD
- EPSS
- EPSS 0.26 % · centile 17 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- GitHub_M
- Statut NVD
- Analyzed
Rechercher sur…
Description
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23, a Denial of Service (DoS) vulnerability exists in the @angular/common package of Angular. The formatNumber function, which is also utilized by DecimalPipe, PercentPipe, and CurrencyPipe, does not properly validate the upper bounds of the digitsInfo parameter. Specifically, the minimum and maximum fraction digits parsed from the digitsInfo string (e.g., 1.2-4) are converted to integers and used without limits. When parsing a maliciously crafted digitsInfo string with excessively large fraction digit values (e.g., 1.200000000-200000000), the internal roundNumber function attempts to pad the digits array to match the requested fraction size. This results in an unbounded loop that repeatedly pushes elements into an array. This vulnerability is fixed in 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23.
Faiblesses (CWE)
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 4.0 | HIGH 8.2 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | GitHub_M |
| CVSS 4.0 | HIGH 8.2 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD · nvd@nist.gov (Primary) |
Avis
- GHSA-p3vc-36g9-x9gr — @angular/common: Denial of Service (DoS) via OOM in Number Formatting (digitsInfo)
Références européennes
- ENISA EUVD · EUVD-2026-38298
- GCVE · GCVE-0-2026-50171
Avis du CERT-FR
- CERTFR-2026-AVI-0933 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*≤ 18.2.14cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*≥ 19.0.0 < 19.2.23cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*≥ 20.0.0 < 20.3.22cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*≥ 21.0.0 < 21.2.15cpe:2.3:a:angular:angular:22.0.0:next0:*:*:*:node.js:*:*cpe:2.3:a:angular:angular:22.0.0:next1:*:*:*:node.js:*:*cpe:2.3:a:angular:angular:22.0.0:next10:*:*:*:node.js:*:*cpe:2.3:a:angular:angular:22.0.0:next11:*:*:*:node.js:*:*cpe:2.3:a:angular:angular:22.0.0:next12:*:*:*:node.js:*:*cpe:2.3:a:angular:angular:22.0.0:next2:*:*:*:node.js:*:*cpe:2.3:a:angular:angular:22.0.0:next3:*:*:*:node.js:*:*cpe:2.3:a:angular:angular:22.0.0:next4:*:*:*:node.js:*:*cpe:2.3:a:angular:angular:22.0.0:next5:*:*:*:node.js:*:*cpe:2.3:a:angular:angular:22.0.0:next6:*:*:*:node.js:*:*cpe:2.3:a:angular:angular:22.0.0:next7:*:*:*:node.js:*:*cpe:2.3:a:angular:angular:22.0.0:next8:*:*:*:node.js:*:*cpe:2.3:a:angular:angular:22.0.0:next9:*:*:*:node.js:*:*cpe:2.3:a:angular:angular:22.0.0:rc0:*:*:*:node.js:*:*cpe:2.3:a:angular:angular:22.0.0:rc1:*:*:*:node.js:*:*
Produits affectés
| Produit | Versions |
|---|---|
| angular · angular | affected >= 22.0.0-next.0, < 22.0.0-rc.2 ; affected >= 21.0.0-next.0, < 21.2.15 ; affected >= 20.0.0-next.0, < 20.3.22 ; affected >= 19.0.0-next.0, < 19.2.23 ; affected <= 18.2.14 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |