A reachable assertion in Node.js HTTP/2 session teardown lets any unauthenticated client abort the server, over both TLS and cleartext. A client can arrange for an Http2Stream that still holds nghttp2-allocated header buffers to outlive its session: the stream is removed from the sessions stream set but never detached, so when ~Http2Session() runs the memory accounting is nonzero and the CHECK_EQ(current_nghttp2_memory_, 0) assertion fails, terminating the process. The trigger needs only a default http2 server whose handler responds before the request body has ended, which is typical. It is a variant of CVE-2024-27983 that the earlier fix did not cover, because that fix only detached streams still tracked in the session. This vulnerability affects Node.js 26.x (since 26.9.0) and 24.x (since 24.22.0).
The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Red Hat Hardened Images | RedHat | nodejs22-main-10.9.9-1.22.23.4.2.3.2.3.1.hum1 | * |
| Red Hat Hardened Images | RedHat | nodejs22-main-22.23.4-2.3.2.3.1.hum1 | * |
| Red Hat Hardened Images | RedHat | nodejs24-main-11.19.1-1.24.22.3.0.1.hum1 | * |
| Red Hat Hardened Images | RedHat | nodejs24-main-24.22.3-0.1.hum1 | * |
| Red Hat Hardened Images | RedHat | nodejs26-main-11.20.0-1.26.13.1.0.1.hum1 | * |
| Red Hat Hardened Images | RedHat | nodejs26-main-26.13.1-0.1.hum1 | * |
While assertion is good for catching logic errors and reducing the chances of reaching more serious vulnerability conditions, it can still lead to a denial of service. For example, if a server handles multiple simultaneous connections, and an assert() occurs in one single connection that causes all other connections to be dropped, this is a reachable assertion that leads to a denial of service.