Vulnerability · Published Jun 9, 2023 · Assigned by Google
CVE-2023-32731Information leak in gRPC
High 7.4
In plain English
A high-severity security flaw in gRPC from Google. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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. We recommend upgrading beyond the commit contained in https://github.com/grpc/grpc/pull/33005 https://github.com/grpc/grpc/pull/33005
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | io.grpc:grpc-protobuf | 1.53.1 | GHSA-cfgp-2977-2fmm |
| Maven | io.grpc:grpc-protobuf | 1.54.2 | GHSA-cfgp-2977-2fmm |
| PyPI | grpcio | 1.54.2 | GHSA-cfgp-2977-2fmm |
| PyPI | grpcio | 1.53.1, 1.54.2 | PYSEC-2026-1427 |
| PyPI | grpcio | 1.53.1 | GHSA-cfgp-2977-2fmm |
| RubyGems | grpc | 1.54.2 | GHSA-cfgp-2977-2fmm |
| RubyGems | grpc | 1.53.1 | GHSA-cfgp-2977-2fmm |
| Ubuntu:22.04:LTS | grpc | no fix listed | UBUNTU-CVE-2023-32731 |
| Ubuntu:24.04:LTS | grpc | no fix listed | UBUNTU-CVE-2023-32731 |
| Ubuntu:25.10 | grpc | no fix listed | UBUNTU-CVE-2023-32731 |
| Ubuntu:26.04:LTS | grpc | no fix listed | UBUNTU-CVE-2023-32731 |
| Ubuntu:26.10 | grpc | no fix listed | UBUNTU-CVE-2023-32731 |
Affected products (as reported)
Weakness: CWE-440 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H