Description
restbed through 5.0.0 accepts WebSocket frames with declared payload lengths up to 2^63 bytes and buffers the payload without size limits in an unbounded stream buffer. Remote unauthenticated attackers can declare large frame sizes and stream payload data to exhaust server memory, causing denial of service through process crash.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Corvusoft | restbed | ≤ 5.0.0 | — |
References
- GitHub Issue #558 issue-tracking
- https://github.com/Corvusoft/restbed product
- https://github.com/Corvusoft/restbed/blob/e1227a297ce6d4e9f78222456507b29bb8ab77e9/src/corvusoft/restbed/detail/web_socket_impl.cpp#L117 technical-description
- VulnCheck Advisory: restbed through 5.0.0 WebSocket Memory Exhaustion via Unbounded Frame Buffering third-party-advisory