gRPC contains a vulnerability that allows hpack table accounting errors could lead to unwanted disconnects between clients and servers in exceptional cases/ Three vectors were found that allow the following DOS attacks:
The unbounded CPU consumption is down to a copy that occurred per-input-block in the parser, and because that could be unbounded due to the memory copy bug we end up with an O(n^2) parsing loop, with n selected by the client.
The unbounded memory buffering bugs:
{
"nvd_published_at": "2023-08-09T13:15:09Z",
"severity": "HIGH",
"github_reviewed_at": "2024-07-30T10:26:43Z",
"github_reviewed": true,
"cwe_ids": [
"CWE-770",
"CWE-789"
]
}