Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Corvusoft / restbed | affected 0 through 5.0.0 |
CWE
CWE-770
References
- https://github.com/Corvusoft/restbed/issues/558
- https://github.com/Corvusoft/restbed
- https://github.com/Corvusoft/restbed/blob/e1227a297ce6d4e9f78222456507b29bb8ab77e9/src/corvusoft/restbed/detail/web_socket_impl.cpp#L117
- https://www.vulncheck.com/advisories/restbed-through-5.0.0-websocket-memory-exhaustion-via-unbounded-frame-buffering
ADP enrichment
No English description supplied.
No references supplied.