This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.
A successful attack has high impact: crashing the system or making it unavailable.
Weakness type: Uncontrolled resource consumption.
✨ AI commentary
After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.
Official 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.
websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.9.0, message parsing for draft75 and draft76 WebSocket connections could incorrectly handle a short crafted byte sequence. An…
websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.9.1, a server piping socket bytes into websocket-driver continued adding data to an internal buffer after a WebSocket close…
permessage-deflate-ruby provides the per-message DEFLATE compression extension for WebSocket connections. Prior to permessage_deflate 0.2.0, websocket-extensions 0.2.0, and websocket-driver 0.9.0, an unauthenticated…
HTML Minifier Next is a configurable HTML minifier and the enhanced successor to HTML Minifier. Prior to html-minifier-next 9.1.2, and from html-minifier 3.1.1 until 5.0.1, minify() in src/htmlminifier.js uses…
ws is an open source WebSocket client and server for Node.js. Prior to 5.2.8, 6.2.7, 7.5.14, and 8.23.0, a malicious WebSocket peer can send Ping frames while stopping reads, causing ws to generate and buffer automatic…
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. From 11.0.0 until 11.0.7, mergeRows() in src/index.ts repeatedly copies and joins an entire pattern row while…