[SEC:HIGH][FP=c545d289] Angular Server-Side Rendering (SSR): Denial of Service via Numeric URL Matrix Parameters
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 90/100
Hướng nghiên cứu
Dependency bị ảnh hưởng là @angular/router trong ui/package.json tại dòng 28; trước tiên hãy kiểm tra phiên bản đã cài đặt được khai báo ở đó như thế nào. Cập nhật nó lên một trong các phiên bản đã được sửa lỗi được liệt kê, sau đó xác minh rằng dependency không còn là 21.2.19 và vẫn tương thích với project.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
General Information
- Severity: high
- Title: Angular Server-Side Rendering (SSR): Denial of Service via Numeric URL Matrix Parameters
- Category: vulnerabilities
- Rule: CVE-2026-101896
- Alert hash: c545d28940c9cd7913674b3fcc76b90b
- First seen: 2026-10-02
Description
A denial of service (DoS) vulnerability was identified in @angular/router when Server-Side Rendering (SSR) is enabled on Node.js (V8).
When @angular/router parses incoming request URLs, it extracts path segments, matrix parameters, and child outlets into plain JavaScript objects (Record<string, string>). When matrix parameter names or outlet names are numeric strings (such as /a;990;2522), the V8 JavaScript engine interprets them as array-indexed properties rather than named properties.
Under V8's internal property-storage heuristics, setting numeric keys on an initially empty object causes V8 to allocate a dense array backing store (HOLEY_ELEMENTS) sized to the maximum index rather than falling back to sparse dictionary storage. Specifically, assigning sequential or moderately large numeric keys (like 990 followed by 2522) causes V8 to allocate a contiguous backing store of ~2,522 pointers (~20 KB to 25 KB of heap) for a single 11-byte segment.
Because each segment in a URL path allocates its own independent parameters object, an attacker can craft URLs with repeated numeric matrix parameters to achieve an asymmetric memory amplification factor of approximately ~350x.
### Impact
Successful exploitation allows an unauthenticated remote attacker to exhaust the Node.js old-space heap with modest request volume, terminating the SSR worker with an unrecoverable JavaScript heap out of memory fatal error and causing a Denial of Service.
- High Amplification: A single 11-byte segment (
/a;990;2522) consumes ~20 KB–25 KB of V8 heap. - Low Concurrency Required:
- With 8 KB request paths (~740 segments, within default Nginx 8 KB buffer limits), as few as 12–22 concurrent requests crash a 256 MiB–512 MiB Node.js SSR worker.
- With smaller 1 KB–2 KB request paths (~90–180 segments), a burst of ~50–100 concurrent requests achieves the same heap exhaustion.
- Client-side SPAs Unaffected: Pure client-side Angular applications (Single Page Applications without SSR) are not vulnerable, as local browser memory consumption does not cross a security boundary.
### Attack Preconditions & Vulnerable Configurations
An application is affected only if all of the following conditions are met:
- SSR Enabled: The application runs in a Server-Side Rendering environment powered by Node.js / V8.
- Direct Router Parsing: User-controlled request URLs are parsed by
@angular/routerduring SSR. - No Reverse-Proxy Semicolon/Segment Filtering: Upstream reverse proxies (Nginx, Cloudflare, ALB) forward URLs containing semicolons (
;) and multiple path segments without stripping or rejecting them.
#### Exploit Payload Example
An attacker sends concurrent HTTP requests with repeated numeric matrix parameters:
GET /a;990;2522/a;990;2522/a;990;2522/... HTTP/1.1
Host: example.com
Even with paths under 2 KB, overlapping requests during SSR will rapidly consume the V8 heap until the process crashes.
### Patches
The issue is resolved by updating @angular/router to enforce V8 dictionary elements storage (setUrlDerivedKey) for numeric URL-derived keys (index >= 32). This prevents V8 from allocating oversized contiguous array backing stores while preserving route matching, parameter values, and component input bindings.
22.2.021.2.2420.3.32
### Workarounds & Mitigations
If you cannot immediately upgrade to a patched version, apply one of the following mitigations at your edge or reverse proxy:
- Block or Sanitize Matrix Parameters at the Reverse Proxy:
Configure your reverse proxy (e.g., Nginx, Cloudflare, or AWS WAF) to reject or strip semicolons (;) in request paths before forwarding requests to the Angular SSR service:# Nginx example: reject requests containing matrix parameters if ($uri ~* ";") { return 400; } - Enforce Strict Path Segment Limits:
Reject requests with excessive path depth (e.g., more than 20–30 segments). - Increase Node.js Old Space:
Increase--max-old-space-size(e.g., to 2048 or 4096 MB) to increase the concurrency threshold required to exhaust memory, though this does not fully eliminate the vulnerability under sustained traffic.
(This package is used under: @angular/[email protected])
Location
- Repository: AbsaOSS/StatusBoard
- File: package.json
- Start Line: 28
- End Line: 28
Dependency Details
- Package name: @angular/router
- Installed version: 21.2.19
- Fixed version: 22.2.0, 21.2.24, 20.3.32
- Reachable: True
- Ngôn ngữ chính
- Scala
- Star
- 0
- Fork
- 1
- Merge trung bình
- 9 giờ 13 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của AbsaOSS/StatusBoard
-
Security Alert – CVE-2026-101896Đang mởepic scope:security type:aquasec
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
AbsaOSS/StatusBoard#68 ·
-
[SEC:HIGH][FP=a2eeb126] Ensure pipeline steps produce an SBOMCó thể đã có người làm @petr-pokorny-absa đã nhận 63 ngày trước. Đang mởscope:security type:aquasec
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 30/100
AbsaOSS/StatusBoard#58 · 1 người được giao ·
-
Security Alert – AVD-PIPELINE-0022Có thể đã có người làm @petr-pokorny-absa đã nhận 63 ngày trước. Đang mởepic scope:security type:aquasec
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 40/100
AbsaOSS/StatusBoard#56 · 1 người được giao ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 18/100
AbsaOSS/StatusBoard#32 ·
Tất cả issue của AbsaOSS/StatusBoard
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
com-lihaoyi/mill#7776 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Module: Form Builder
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
orbeon/orbeon-forms#7943 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bbb-web: concurrent joins lose RegisterUserReqMsg (HashMap race in Meeting.userCustomData)Có thể đã có người làm @ArsenFesiuk đã nhận hôm nay. Đang mởmodule: core
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
bigbluebutton/bigbluebutton#26028 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
lambdaworks/zio-elasticsearch#869 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
bazel-contrib/rules_scala#2018 ·
Maintainer thường phản hồi trong vòng 2 ngày