CVE-2023-32731
Information leak in gRPC
Reported by google · Published June 9, 2023
grpc is fixed in 1.54.2 and 1.53.1 (RubyGems)
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
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| grpc | RubyGems | 1.54.2, 1.53.1 |
| grpcio | PyPI | 1.54.2, 1.53.1 |
| io.grpc:grpc-protobuf | Maven Central | 1.54.2, 1.53.1 |
| grpc-cpp | Amazon Linux | 1.56.2-10.amzn2023 |
| wavefront-proxy | Chainguard | 13.4-r1 |
| grpc-data | Amazon Linux | 1.56.2-10.amzn2023 |
| grpc-devel | Amazon Linux | 1.56.2-10.amzn2023 |
| hive | Chainguard | 4.0.1-r1 |
| calico | Wolfi | 3.26.1-r5 |
| grpc-plugins | Amazon Linux | 1.56.2-10.amzn2023 |
| grpc | Amazon Linux | 1.56.2-10.amzn2023 |
| grpc-doc | Amazon Linux | 1.56.2-10.amzn2023 |
5 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| gRPC | 1.53 | |
| amazon:2023 | grpc-cpp | 0 |
| chainguard | wavefront-proxy | 0 |
| amazon:2023 | grpc-data | 0 |
| amazon:2023 | grpc-devel | 0 |
| chainguard | hive | 0 |
| wolfi | calico | 0 |
| grpc | grpc | 1.53 |
| gRPC | 1.53 | |
| amazon:2023 | grpc-plugins | 0 |
| amazon:2023 | grpc | 0 |
| RubyGems | grpc | 1.54.0, 1.53.0 |
| amazon:2023 | grpc-doc | 0 |
| chainguard | stargate | 0 |
| wolfi | wavefront-proxy | 0 |
| Maven | io.grpc:grpc-protobuf | 1.54.0, 1.53.0 |
| chainguard | calico | 0 |
| PyPI | grpcio | 1.53.0, 1.54.0 |
Timeline
- Jun 9, 2023 CVE Published
- Jun 10, 2023 EPSS Score (30 in total, the first dated here)
- Mar 9, 2026 Security Advisory
- Aug 9, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-32731
vulnetix vdb fixes CVE-2023-32731
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-32731/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-32731 advisory
- https://github.com/advisories/GHSA-cfgp-2977-2fmm advisory
- https://github.com/grpc/grpc/issues/33463 url
- https://github.com/grpc/grpc/commit/29d8beee0ac2555773b2a2dda5601c74a95d6c10 patch
- https://github.com/grpc/grpc/commit/65a2a895afaf1d2072447b9baf246374b182a946 patch
- https://github.com/grpc/grpc/releases/tag/v1.53.1 url
- https://github.com/grpc/grpc/releases/tag/v1.54.2 url
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/grpc/CVE-2023-32731.yml advisory