GHSA-hgrm-22x6-r8c8HighCVSS 7.5
rpcx through 1.9.3, fixed in commit 047aec1, contains a denial-of-service vulnerability in...
🔗 CVE IDs covered (1)
📋 Description
rpcx through 1.9.3, fixed in commit 047aec1, contains a denial-of-service vulnerability in protocol.Message.Decode (protocol/message.go). When a message has the compression flag set, the payload is gzip-decompressed via util.Unzip with no limit on the decompressed output size. The only built-in size guard, protocol.MaxMessageLength, is checked against the compressed on-the-wire frame length, not the decompressed size, so it provides no protection. Because decoding (and decompression) occurs in readRequest before authentication, a single unauthenticated connection can send a small (under 2 MB) gzip-compressed message that expands to gigabytes of heap allocation, leading to out-of-memory conditions and service unavailability.
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-59803
- https://github.com/smallnest/rpcx/issues/942
- https://github.com/smallnest/rpcx/pull/943
- https://github.com/smallnest/rpcx/commit/047aec18efa7d037105e2b72c36dd2ae05e1acc6
- https://www.vulncheck.com/advisories/rpcx-denial-of-service-via-gzip-decompression-bomb-in-wire-protocol
- https://github.com/advisories/GHSA-hgrm-22x6-r8c8