ADVISORIES

GitHub Advisory Database

GHSA-cfgp-2977-2fmm

Connection confusion in gRPC

Details

When gRPC HTTP2 stack raised a header size exceeded error, it skipped parsing the rest of the HPACK frame. This caused any HPACK table mutations to also be skipped, resulting in a desynchronization of HPACK tables between sender and receiver. If leveraged, say, between a proxy and a backend, this could lead to requests from the proxy being interpreted as containing headers from different proxy clients - leading to an information leak that can be used for privilege escalation or data exfiltration.

Affected packages

EcosystemPackageAffected versions
Mavenio.grpc:grpc-protobuf
From 1.53.0 before 1.53.1 (fixed in 1.53.1)
PyPIgrpcio
From 1.53.0 before 1.53.1 (fixed in 1.53.1)
RubyGemsgrpc
From 1.53.0 before 1.53.1 (fixed in 1.53.1)
PyPIgrpcio
From 1.54.0 before 1.54.2 (fixed in 1.54.2)
RubyGemsgrpc
From 1.54.0 before 1.54.2 (fixed in 1.54.2)
Mavenio.grpc:grpc-protobuf
From 1.54.0 before 1.54.2 (fixed in 1.54.2)

References