MagicOnion.Server is vulnerable to Denial of service
55
CVE Score
Medium
Denial of service
MagicOnion writes each StreamingHub connection's responses through QueuedResponseWriter, which stores them in an unbounded Channel<T> until WriteAsync finishes. If the client stops reading, later method replies and group broadcasts stay rooted in that channel with no count or size cap. A connected client can grow the server's memory by holding the duplex stream open while the server keeps enqueueing. The fix rejects further responses after StreamingHubResponseQueueMaxLength or StreamingHubResponseQueueMaxSize is exceeded and aborts that connection.
Upgrade the MagicOnion.Server library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and expose a StreamingHub endpoint that accepts client-initiated streaming messages over gRPC.
4.0.0 - 7.10.2
Fixed in 7.11.0MagicOnion.Server is vulnerable to Denial of service in versions 4.0.0 - 7.10.2.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.