GHSA-cfgp-2977-2fmm

Connection confusion in gRPC

At a glance

Published
Updated
CVE
CVE-2023-32731
Aliases
PYSEC-2026-1427
CVSS_V3
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H

Description

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

PackageVersions
Maven · io.grpc:grpc-protobufintroduced 1.53.0, fixed 1.53.1
PyPI · grpciointroduced 1.53.0, fixed 1.53.1
RubyGems · grpcintroduced 1.53.0, fixed 1.53.1
PyPI · grpciointroduced 1.54.0, fixed 1.54.2
RubyGems · grpcintroduced 1.54.0, fixed 1.54.2
Maven · io.grpc:grpc-protobufintroduced 1.54.0, fixed 1.54.2

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database